Skip to content

Commit 26bcbb8

Browse files
authored
Remove unecessary default scopes for IDP integration (#686)
1 parent 7b4254f commit 26bcbb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/auth/idp/oauth2/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func getSaltForIdpHmac() string {
6969

7070
// getIdpScopes return default scopes during the IDP login request
7171
func getIdpScopes() string {
72-
return env.Get(ConsoleIDPScopes, "openid,profile,app_metadata,user_metadata,email")
72+
return env.Get(ConsoleIDPScopes, "openid,profile,email")
7373
}
7474

7575
// getIdpTokenExpiration return default token expiration for access token (in seconds)

0 commit comments

Comments
 (0)