Problems logging out from Facebook Authentication

472 views
Skip to first unread message

kodebl...@gmail.com

unread,
Aug 28, 2016, 12:00:01 PM8/28/16
to Firebase Google Group

I am using the Firebase Authentication service to login through Facebook, Google and Email. I am not allowing multiple authenticators for the same UID. The problem crops up when I try to sign out after signing in through Facebook. If I try to sign in through Facebook again, a dialog pops up stating that I am logged into my Facebook account, and I have to press a logout button. It works after pressing that button but why is it still logged in. I am using
FirebaseAuth.signOut()

to sign out and return to my login activity.

Kato Richardson

unread,
Aug 29, 2016, 12:25:10 PM8/29/16
to Firebase Google Group
Calling `signOut()` on Firebase Auth with only log you out of Firebase, not Facebook. That's generally how third party auth providers work (e.g. signing out of console.firebase.google.com with a Google account won't also sign you out of Gmail and Calendar).
If you want to sign a user out of Facebook from your app (not recommended) then you'll need to sign them out using the Facebook SDK instead.

☼, Kato
P.S. If it's not offensive to your culture or beliefs, I'd encourage you to introduce yourself! We are a close-knit family. It's easier to keep that culture strong when we remember that there are real people on the other end of our emails. Getting to know one another by name is a great first step.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/a6d36179-e0f2-4475-acde-2827eea4e43e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Reply all
Reply to author
Forward
0 new messages