change scopes
This commit is contained in:
+1
-1
@@ -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",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user