diff --git a/auth/oauth.go b/auth/oauth.go index 816eff7..f02bdc2 100644 --- a/auth/oauth.go +++ b/auth/oauth.go @@ -14,7 +14,7 @@ func CreateTestOAuth() { oauthConfig := oauth2.Config{ ClientID: "stalwart-webui", - Scopes: []string{"user:email", "read:user"}, + Scopes: []string{"openid", "profile", "email"}, Endpoint: oauthEndpoint, RedirectURL: "http://localhost:8080/callback", }