From 26bcbb896a9d4c2bde23a3c1d0446cd6c888adb8 Mon Sep 17 00:00:00 2001 From: Lenin Alevski Date: Thu, 8 Apr 2021 14:04:32 -0700 Subject: [PATCH] Remove unecessary default scopes for IDP integration (#686) --- pkg/auth/idp/oauth2/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/auth/idp/oauth2/config.go b/pkg/auth/idp/oauth2/config.go index 0b08ed4a9..583b32718 100644 --- a/pkg/auth/idp/oauth2/config.go +++ b/pkg/auth/idp/oauth2/config.go @@ -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)