Unverified Commit 81942b3b authored by Wen Sun's avatar Wen Sun Committed by GitHub

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.
parent a7cda28f
......@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment