Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

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

Wen Sun81942b3b98d8
diff --git a/web/src/components/CreateIdentityProviderDialog.tsx b/web/src/components/CreateIdentityProviderDialog.tsx
index 3a648891c..7c9b54f0f 100644
--- a/web/src/components/CreateIdentityProviderDialog.tsx
+++ b/web/src/components/CreateIdentityProviderDialog.tsx
@@ -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",