1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-29 18:52:22 +01:00

add graph defautl scope

This commit is contained in:
Sylvain 2021-11-16 11:16:11 +01:00
parent 1427b5a4a5
commit 9b06d8d756

View File

@ -26,7 +26,7 @@ module OmniAuth::Strategies
def authorize_params
super.tap do |params|
params[:scope] = 'api://b8b974a0-ecee-45fd-89cc-91d8f09d7904/User.read'
params[:scope] = 'api://b8b974a0-ecee-45fd-89cc-91d8f09d7904/User.read https://graph.microsoft.com/.default'
end
end