You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Thank you for the great library!
I'm trying to achieve an authentication of github users without fishing for their emails.
I've gone through all kinds of scopes, and found this note in the README:
For a read-only scope, either use "user:email" or an empty scope "". See more at
[GitHub's OAuth Documentation](https://developer.github.com/apps/building-integrations/setting-up-and-registering-oauth-apps/about-scopes-for-oauth-apps/).
So I went ahead and tried the "" scope, which is supposedly giving me what I'm aiming:
It's still trying to figure out why it was done that way, but it's prudent to try to figure out the Why behind it. Ideally, the email is not required in Ueberauth layer itself, and it is OK to accept nil.
Thank you for your trust :D Nothing really crazy there, I just gave it shot with nil for email field and the whole workflow seems to simply digest it. Not saying that there might not be any hidden aftereffects!
Problem Statement
Hello! Thank you for the great library!
I'm trying to achieve an authentication of github users without fishing for their emails.
I've gone through all kinds of scopes, and found this note in the
README
:So I went ahead and tried the
""
scope, which is supposedly giving me what I'm aiming:But during authentication, the following Unable to access the user's email address error is unfortunately raised:
Is there anything else I need to do? Is it feasible?
Solution Brainstorm
No response
The text was updated successfully, but these errors were encountered: