change scopes

This commit is contained in:
2026-08-04 21:10:30 -04:00
parent c37a433984
commit 349ab612d6
+1 -1
View File
@@ -14,7 +14,7 @@ func CreateTestOAuth() {
oauthConfig := oauth2.Config{ oauthConfig := oauth2.Config{
ClientID: "stalwart-webui", ClientID: "stalwart-webui",
Scopes: []string{"user:email", "read:user"}, Scopes: []string{"openid", "profile", "email"},
Endpoint: oauthEndpoint, Endpoint: oauthEndpoint,
RedirectURL: "http://localhost:8080/callback", RedirectURL: "http://localhost:8080/callback",
} }