firebase / firebase/firebase-js-sdk
auth/popup-closed-by-user error throws 7+ seconds after popup is closed
Open
api: auth
bug
stack:React
- Dominant language
- TypeScript
- Stars
- 5.1k
- Forks
- 1k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 37
Description
### Operating System
macOS Sonoma
### Browser Version
Chrome 122.0.6261.112
### Firebase SDK Version
10.8.1
### Firebase SDK Product:
Auth
### Describe your project's tooling
React app with Webpack
### Describe the problem
There is an incredibly long delay after an oAuth popup is closed before the `auth/popup-closed-by-user` error is thrown. Consistently 7 or 8 seconds.
### Steps and code to reproduce issue
1. Call `signInWithPopup` or `reauthenticateWithPopup`
2. Close the popup
3. There will be a ridiculously long delay before an error is thrown
Contributor guide
Assessment
This issue has not been assessed yet.