firebase / firebase/firebase-js-sdk
Firebase auth with Facebook does not work on Android
- Dominant language
- TypeScript
- Stars
- 5.1k
- Forks
- 1k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 37
Description
### Operating System
Android 13
### Browser Version
Chrome 127.0.6533.103
### Firebase SDK Version
10.13.0
### Firebase SDK Product:
Auth
### Describe your project's tooling
React app
### Describe the problem
I am trying to login with signInWithPopup (which works on desktop and ios devices) and I get a "auth/popup-closed-by-user" without any additional details.
```js
const auth = getAuth();
const provider = new FacebookAuthProvider();
provider.addScope('email');
provider.setCustomParameters({
'display': 'popup'
});
signInWithPopup(auth, provider)
.then(...)
.catch(error){}
```
### Steps and code to reproduce issue
On an Android device:
- go to https://upreality.store
- scroll down to the "login" button
- click it, then Facebook login
- login to Facebook
- the popup closes and you are redirected back to the initial page, after some times an error is returned
Contributor guide
Assessment
This issue has not been assessed yet.