mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
read scope from env
This commit is contained in:
parent
9b06d8d756
commit
2bab28dfe6
@ -26,7 +26,7 @@ module OmniAuth::Strategies
|
||||
|
||||
def authorize_params
|
||||
super.tap do |params|
|
||||
params[:scope] = 'api://b8b974a0-ecee-45fd-89cc-91d8f09d7904/User.read https://graph.microsoft.com/.default'
|
||||
params[:scope] = ENV['OAUTH2_SCOPE']
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user