Remove unecessary default scopes for IDP integration (#686)

This commit is contained in:
Lenin Alevski
2021-04-08 14:04:32 -07:00
committed by GitHub
parent 7b4254f525
commit 26bcbb896a

View File

@@ -69,7 +69,7 @@ func getSaltForIdpHmac() string {
// getIdpScopes return default scopes during the IDP login request
func getIdpScopes() string {
return env.Get(ConsoleIDPScopes, "openid,profile,app_metadata,user_metadata,email")
return env.Get(ConsoleIDPScopes, "openid,profile,email")
}
// getIdpTokenExpiration return default token expiration for access token (in seconds)