Skip to content

Commit d8457af

Browse files
committed
Revert "exp: organizations scope instead of common for authorization"
This reverts commit 93575a3.
1 parent 1a8b598 commit d8457af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/omniauth/strategies/microsoft_graph.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ class MicrosoftGraph < OmniAuth::Strategies::OAuth2
1313

1414
option :client_options, {
1515
site: 'https://login.microsoftonline.com/',
16-
token_url: 'organizations/oauth2/v2.0/token',
17-
authorize_url: 'organizations/oauth2/v2.0/authorize'
16+
token_url: 'common/oauth2/v2.0/token',
17+
authorize_url: 'common/oauth2/v2.0/authorize'
1818
}
1919

2020
option :authorize_options, %i[state callback_url access_type display score auth_type scope prompt login_hint domain_hint response_mode]

0 commit comments

Comments
 (0)