mirror of
https://github.com/usememos/memos.git
synced 2024-12-26 23:22:47 +08:00
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.
This commit is contained in:
parent
a7cda28fc7
commit
81942b3b98
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue