Skip to content

Commit

Permalink
adjust github auth scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtsam committed Jan 16, 2025
1 parent fcaec4a commit 1988dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/auth/providers/github.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class GitHubProvider implements AuthProvider {
clientId: env.GITHUB_CLIENT_ID,
clientSecret: env.GITHUB_CLIENT_SECRET,
redirectURI: new URL('/auth/github/callback', getDomainUrl(request)),
scopes: ['user'],
scopes: ['user:email'],
},
async ({ tokens }) => {
const accessToken = tokens.accessToken()
Expand Down

0 comments on commit 1988dde

Please sign in to comment.