We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d6e58e commit c7e7d3eCopy full SHA for c7e7d3e
lib/omniauth/strategies/microsoft_graph.rb
@@ -11,7 +11,7 @@ class MicrosoftGraph < OmniAuth::Strategies::OAuth2
11
authorize_url: '/common/oauth2/v2.0/authorize'
12
}
13
14
- option :authorize_options, %i[display score auth_type scope prompt login_hint domain_hint response_mode state]
+ option :authorize_options, %i[display score auth_type scope prompt login_hint domain_hint response_mode]
15
16
uid { raw_info["id"] }
17
@@ -47,7 +47,7 @@ def authorize_params
47
end
48
49
def full_name
50
- [raw_info["givenName"], raw_info["surname"]].compact.join(' ')
+ raw_info.values_at("givenName", "surname").compact.join(' ')
51
52
53
0 commit comments