We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31d827a commit d66ee42Copy full SHA for d66ee42
packages/next-auth/src/providers/github.ts
@@ -76,7 +76,7 @@ export default function Github<P extends GithubProfile>(
76
77
if (!profile.email) {
78
// If the user does not have a public email, get another via the GitHub API
79
- // See https://docs.github.com/en/rest/users/emails#list-public-email-addresses-for-the-authenticated-user
+ // See https://docs.github.com/en/rest/users/emails#list-email-addresses-for-the-authenticated-user
80
const res = await fetch("https://api.github.com/user/emails", {
81
headers: { Authorization: `token ${tokens.access_token}` },
82
})
0 commit comments