Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Is there some way to re-auth with Google Login #104

Closed
calebeaires opened this issue Aug 13, 2016 · 4 comments
Closed

Is there some way to re-auth with Google Login #104

calebeaires opened this issue Aug 13, 2016 · 4 comments

Comments

@calebeaires
Copy link

calebeaires commented Aug 13, 2016

Once logged into via Google Login, calling firebase.logout() does not permit the user to login with a different account. Is there some way to clear the "cache" and change this behavior?

@EddyVerbruggen
Copy link
Owner

There's a disconnect feature in the SDK we're not currently using, but first I'd like to reproduce this issue.. I've tested both iOS and Android: log on via Google first, log out, then log in via email-password: works fine. Can you elaborate on your scenario please?

@calebeaires
Copy link
Author

I was trying something like this:

  1. Login with Google (there is more then one accounts on pop-up)
  2. Logout, becouse I made a mistake. I want to use another Google account
  3. Call again the Pop-up with those accounts
  4. Choose some other.

👍

@EddyVerbruggen
Copy link
Owner

EddyVerbruggen commented Aug 15, 2016

Ah, so a different auth provider works, but not Google twice. Perhaps we do need to call disconnect after logout then :)

@EddyVerbruggen
Copy link
Owner

For the time being I'm now always disconnecting Google auth users upon logout. I can imagine this may be problematic for edge cases so I'll cope with that in case it arises.

In order to get this change install the plugin from github (instead of npm) so you'll get 3.5.2-dev. No code changes required on your end.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants