chore: updating the default scopes of GitHub SSO (#2746)

Updating the default scopes of GitHub SSO

The scope of "user" in GitHub OAuth includes permissions to update a user's profile.
pull/2747/head
Wen Sun 1 year ago committed by GitHub
parent a7cda28fc7
commit 81942b3b98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,7 +21,7 @@ const templateList: IdentityProvider[] = [
authUrl: "https://github.com/login/oauth/authorize",
tokenUrl: "https://github.com/login/oauth/access_token",
userInfoUrl: "https://api.github.com/user",
scopes: ["user"],
scopes: ["read:user"],
fieldMapping: {
identifier: "login",
displayName: "name",

Loading…
Cancel
Save