Firebase Facebook OAuth Returns null On iOS Devices

I’ve got a Firebase web application that uses the following method to authenticate user’s via Facebook

  let provider = new firebase.auth.FacebookAuthProvider();
    provider.addScope('public_profile');
    provider.addScope('user_location');
    firebase.auth().signInWithRedirect(provider)
      .then(function(){
        return firebase.auth().getRedirectResult()
      })
      .then(function(result) {
          console.log('Logged in user ::: ', result.user);
      })
      .catch(err => { console.warn('An error occurred') })
    })

However, all iOS devices and emulateors (except one, strangely) never retrieve the user object - instead I get null

  • I’ve enabled Facebook as a Sign-in Provider in the Firebase console
  • I’ve added my app’s domain, facebook.com, and localhost as Authorized domains in the Firebase console
  • I’ve tried repositioning getRedirectResult() and utilizing the onAuthStateChanged() methods, but to no avail

Has anyone run into a similar issue?

Hello,
I am having similar issue… Were you able to find a fix?

Thanks