-
Notifications
You must be signed in to change notification settings - Fork 708
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Cannot get the private email from Github API #28
Comments
If I am not wrong, only In your github account have a look at personal settings and email part. There is some tunable as:
IMHO you should only use the |
What a nice suggestion @luvarqpp ! Thank you for this :D I'll try this way. By the way, do you know how to retrieve the Access Token sent to us? Thank you in advance, |
@lethuydung0109 it is a bit longer topic... OAuth does claim that some user has been authenticated by sending some info to your Line 25 in ada77d0
I can recommend you to have a look at some "deep dive" videos, like this one: https://www.youtube.com/watch?v=8rnOsF3RVQc |
Hello, I followed your code and I have a problem of getting email address after authenticating successfully against Github. The problem is that Github only provides us the public email address which is normally null by default.
To take the private emails, we should call API /user/emails with access token taken from the earlier authentication. However, I don't know how to retrieve that access token.
Do you have any suggestion?
The text was updated successfully, but these errors were encountered: