Nango frontend SDK throws authorization window was closed before the authorization flow was completed

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.

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.

Source: https://github.com/NangoHQ/nango/issues/1251

Source: https://github.com/NangoHQ/nango/issues/1251