firebase / FirebaseUI-Android

Optimized UI components for Firebase
https://firebaseopensource.com/projects/firebase/firebaseui-android/
Apache License 2.0
4.63k stars 1.83k forks source link

[Urgent] Facebook Automatic sign-in loop prevents user from switching accounts #1720

Closed babkouew closed 4 years ago

babkouew commented 4 years ago

Hi, I have recently updated Facebook to the new 5.9 sdk. Everything still works fine for the email and google login options but for Facebook, I can no longer switch accounts after login for the first time.

I tried to force a Facebook logout with "LoginManager.getInstance().logOut()" just prior to calling FirebaseUI's signout function but it did not change a thing. I have smartlock set to false in my signinIntentBuilder to no effect.

Uninstalled the App, invalidated cache and restart but the sign-in loop persist. It does end only when I open the Facebook App and logout from there.

I have no idea how to solve this and my App is about to enter production please help!

I am using the latest dependencies: implementation 'com.firebaseui:firebase-ui-auth:6.1.0' implementation 'com.facebook.android:facebook-login:5.9.0'

samtstern commented 4 years ago

@babkouew are you sure this is a FirebaseUI issue? It sounds like you're not able to log out of the Facebook SDK at all ... if it's a FirebaseUI can you describe where things are going wrong within the FirebaseUI flow?

google-oss-bot commented 4 years ago

Hey @babkouew. We need more information to resolve this issue but there hasn't been an update in 7 days. I'm marking the issue as stale and if there are no new updates in the next 3 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot commented 4 years ago

Since there haven't been any recent updates here, I am going to close this issue.

@babkouew if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.