Skip to content

Commit 624c953

Browse files
committed
better default scopes
1 parent da0e4e0 commit 624c953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/omniauth/strategies/microsoft_graph.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class MicrosoftGraph < OmniAuth::Strategies::OAuth2
1717
option :token_params, {
1818
}
1919

20-
option :scope, "https://graph.microsoft.com/profile https://graph.microsoft.com/email https://graph.microsoft.com/User.Read https://graph.microsoft.com/User.ReadBasic.All"
20+
option :scope, "offline_access https://graph.microsoft.com/User.Read"
2121

2222
uid { raw_info["id"] }
2323

0 commit comments

Comments
 (0)