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