mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-19 13:54:25 +01:00
try empty oauth2 scope
This commit is contained in:
parent
72421f99a5
commit
f62eec9d3c
@ -24,6 +24,12 @@ module OmniAuth::Strategies
|
||||
authorize_url: active_provider.providable.authorization_endpoint,
|
||||
token_url: active_provider.providable.token_endpoint
|
||||
|
||||
def authorize_params
|
||||
super.tap do |params|
|
||||
params[:scope] = ''
|
||||
end
|
||||
end
|
||||
|
||||
def callback_url
|
||||
url = Rails.application.config.action_controller.default_url_options
|
||||
"#{url[:protocol]}://#{url[:host]}#{script_name}#{callback_path}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user