Skip to content

Login to Firebase does not work on Safari 16.1+ #6716

@mmmulani

Description

@mmmulani

Describe your environment

  • Operating System version: Mac OS 12.6
  • Browser version: Safari 16.1
  • Firebase SDK version: 9.10.0
  • Firebase Product: auth

Describe the problem

Steps to reproduce:

Try logging in to a site using signInWithRedirect. Notably it redirects back to the site without an error, and does not log the user in. Checking getRedirectResult returns a null user.

This seems like a severe issue as iOS 16.1 will be released next week and presumably this issue will affect all those iOS users.

Notably there seems to be a workaround of using signInWithPopup. It seems to work for us, though it is unclear why.

Relevant Code:

const googleProvider = new GoogleAuthProvider();
signInWithRedirect(getAuth(firebaseApp), googleProvider);

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