fix: OAuth2 scopes for GitHub

This commit is contained in:
jamesread 2025-11-26 23:07:55 +00:00
parent 853972384c
commit e9bde8b094
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ var oauth2ProviderDatabase = map[string]config.OAuth2Provider{
WhoamiUrl: "https://api.github.com/user",
TokenUrl: endpoints.GitHub.TokenURL,
AuthUrl: endpoints.GitHub.AuthURL,
Scopes: []string{"user", "user:email"},
Scopes: []string{"read:user", "user:email"},
UsernameField: "login",
},
"google": {