Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Firebase.auth.signOut() sign out from Google too? [duplicate]

I follow the docs for authenticating users in Firebase with Google. I implemented it and it works fine. It is also said that if I need to sign-out, I need to use:

Firebase.auth.signOut()

Does this line also sign out from Google? When I last used such an authentication, I had to use:

googleSignInClient.signOut()

Is this not needed anymore?

like image 373
Joan P. Avatar asked Dec 13 '25 20:12

Joan P.


1 Answers

Using Firebase Auth Firebase.auth.signOut() only Sign's you out of the APP Which Is Being Referenced By Firebase And Not Off Google Entirely.
However If You Use googleSignInClient.signOut() It Signs You Off from The account being referenced by GoogleSignIn/Play Services Inside The App, But It Too Doesnt Sign You Off From Google Entirely.

like image 55
mrtechtroid Avatar answered Dec 16 '25 10:12

mrtechtroid