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?