-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect Google "username" value? #40
Comments
Yeah, Google strategy is a bit special: Normally e.g. on GitHub
without further API calls, so this information should not be I hope you agree with that decision (you can also downvote this :)). However, as other people asked for the email to be included in the cookie, i'll create an issue #41 . |
At least for my purposes, it's fine to keep email out of the profile cookie, as long as it's in the jwt. I do think that username also carries a connotation of uniqueness, but maybe that's a different question. |
Yeah, maybe putting the email in the |
That sounds great to me. Thanks! |
It looks like the Google strategy sets both
username
andname
to displayName. Shouldn'tusername
be the primary email address, or at least something unique?https://github.com/lipp/login-with/blob/master/src/strategies/google.js#L23-L24
The text was updated successfully, but these errors were encountered: