Nango frontend SDK throws authorization window was closed before the authorization flow was completed
# Nango frontend SDK throws authorization window was closed before the authorization flow was completed
## What was going on
The Nango frontend SDK throws The authorization window was closed before the authorization flow was completed even though the OAuth popup completes successfully. Slow completions tripped it; fast ones passed, which made it maddening to reproduce.
## The fix that worked
Fixed in @nangohq/frontend 0.36.31 via PR #1299. Update the frontend SDK to that version or later. The reporter confirmed the fix works perfectly.
## Where this came from
https://github.com/NangoHQ/nango/issues/1251