Skip to content

Firebase auth with Facebook does not work on Android #8435

Open
@jacquesgiraudel

Description

@jacquesgiraudel

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions