From d5e3ac27698b6b9e5353b29d9fb173f8c2ec2539 Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Wed, 22 Apr 2020 17:26:06 +0200 Subject: [PATCH] Add missing scopes for Azure AD OpenID Connect [SCI-4544] --- lib/omniauth/strategies/custom_azure_active_directory.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/omniauth/strategies/custom_azure_active_directory.rb b/lib/omniauth/strategies/custom_azure_active_directory.rb index eec52f6f3..d2c29f240 100644 --- a/lib/omniauth/strategies/custom_azure_active_directory.rb +++ b/lib/omniauth/strategies/custom_azure_active_directory.rb @@ -25,7 +25,7 @@ module OmniAuth response_mode: response_mode, response_type: response_type, nonce: new_nonce, - scope: 'openid' + scope: 'openid profile email' } params[:p] = options[:sign_in_policy] if options[:sign_in_policy].present?