Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Google auth breaks if user has several emails #639

Open
jehy opened this issue Aug 2, 2018 · 1 comment
Open

Google auth breaks if user has several emails #639

jehy opened this issue Aug 2, 2018 · 1 comment

Comments

@jehy
Copy link

jehy commented Aug 2, 2018

Seems like an important bug, but I haven't found any mentions of this.

When I use one google account, everything is fine.
But when i connect several accounts, I often have to relogin.
Seems like data from another account is sometimes used for validation (may be account is selected randomly ot last used account is used), of cause it does not pass validation and asks user to relogin. That's really painful.

@roman-vynar
Copy link

You can filter out the list to a single domain, e.g.

login_url = "https://accounts.google.com/o/oauth2/auth?access_type=online&hd=mydomain.com"

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

No branches or pull requests

2 participants