Open Matthew-Mallimo opened 2 years ago
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
user:email
/user/emails
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.
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#L142This API responds with some additional data that can be beneficial to users.
Might be worth sending along these additional values.