diff options
author | Joyce Er <joyceerhl@gmail.com> | 2022-06-02 02:50:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-02 02:50:05 +0300 |
commit | b9b2862341efe51f03af4f31db3cbfbd162cd4c3 (patch) | |
tree | b57ad98473396b7b1905de4d317b1c796f7ddbc5 /extensions | |
parent | e44f4ba8866996dcfb0dc1b3cec2384c0f93bcce (diff) |
Align auth scopes (#151045)
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/github/src/auth.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/github/src/auth.ts b/extensions/github/src/auth.ts index af91374e91f..859fe9fa821 100644 --- a/extensions/github/src/auth.ts +++ b/extensions/github/src/auth.ts @@ -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 }); |