1

My project includes the firebase sign-in methods: Twitter, Facebook, Google and Github. I am using firebase.auth().signInWithPopup() to handle authentication and callback. It works fine when run in the browser:

in mobile, this is different. I realize that it opens a new safari window, but it does not redirect to the app home screen. How can we do that?

enter image description here

this is the project in the firebase console for the Facebook sign-in enter image description here

1 Answers1

0

I believe this is a known issue for home screen apps in iOS. The window that is opened is sandboxed from the home screen app. The popup is unable to pass back the result to the parent home screen app. Instead, you should use signInWithRedirect in that mode. I believe that should work.

bojeil
  • 24,095
  • 4
  • 51
  • 58