Skip to content

Commit

Permalink
Align auth scopes (#151045)
Browse files Browse the repository at this point in the history
  • Loading branch information
joyceerhl committed Jun 1, 2022
1 parent e44f4ba commit b9b2862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/github/src/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function getAgent(url: string | undefined = process.env.HTTPS_PROXY): Agent {
}
}

const scopes = ['repo', 'workflow'];
const scopes = ['repo', 'workflow', 'user:email', 'read:user'];

export async function getSession(): Promise<AuthenticationSession> {
return await authentication.getSession('github', scopes, { createIfNone: true });
Expand Down

0 comments on commit b9b2862

Please sign in to comment.