sat_dev
4 years ago

How can I get email from github using socialite if email in profile set to private?

Posted 4 years ago by sat_dev

I am trying to create social login using socialite, I managed to make google, facebook working, I am stuck with github login, it returns empty email, I checked my testing github login and email was set to private, now when I set email to public I am getting email, I want to know if there is any way to get email if it is set private in github, I know it is possible cause laravel.io can get email even if it is set to private.

Please sign in or create an account to participate in this conversation.