chore: 🔧Modify the parameter name in the URL
This commit is contained in:
parent
1dd5d3e186
commit
e0cdb31892
|
@ -19,7 +19,7 @@ class OAuth2BasicAuthenticator < Auth::ManagedAuthenticator
|
|||
setup:
|
||||
lambda { |env|
|
||||
opts = env["omniauth.strategy"].options
|
||||
opts[:client_id] = SiteSetting.oauth2_client_id
|
||||
opts[:appid] = SiteSetting.oauth2_appid
|
||||
opts[:client_secret] = SiteSetting.oauth2_client_secret
|
||||
opts[:provider_ignores_state] = SiteSetting.oauth2_disable_csrf
|
||||
opts[:client_options] = {
|
||||
|
|
Loading…
Reference in New Issue