remix-auth-github
remix-auth-github copied to clipboard
Send back full email response from GitHub
If the user passes the user:email scope, this package will hit the /user/emails endpoint on GitHub, and pull out only the emails from the array.
https://github.com/sergiodxa/remix-auth-github/blob/main/src/index.ts#L142
This API responds with some additional data that can be beneficial to users.
{
"email": "",
"primary": true,
"verified": true,
"visibility": "public"
},
Might be worth sending along these additional values.