Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase auth with Facebook does not work on Android #8435

Open
jacquesgiraudel opened this issue Aug 17, 2024 · 2 comments
Open

Firebase auth with Facebook does not work on Android #8435

jacquesgiraudel opened this issue Aug 17, 2024 · 2 comments

Comments

@jacquesgiraudel
Copy link

jacquesgiraudel commented Aug 17, 2024

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.

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
@jacquesgiraudel jacquesgiraudel added new A new issue that hasn't be categoirzed as question, bug or feature request question labels Aug 17, 2024
@jacquesgiraudel jacquesgiraudel changed the title Firebase auth with Facebook does not work anymore on Android Firebase auth with Facebook does not work on Android Aug 18, 2024
@jbalidiong jbalidiong added needs-attention and removed new A new issue that hasn't be categoirzed as question, bug or feature request labels Aug 19, 2024
@jbalidiong
Copy link
Contributor

Hi @jacquesgiraudel, thank you for reaching out to us. I was able to replicate the issue. Let me check with our Auth team what we can do for this issue or bring someone here that can provide more context about it. I’ll update this thread if I have any information to share.

@nkhanh90
Copy link

Hi, any updates about it. I have same problem with facebook login on both ios and android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants