From cdc9084036b1f8fc701f8dd9ba65ac2d4c6abd67 Mon Sep 17 00:00:00 2001 From: sztyup Date: Wed, 24 May 2023 14:52:00 +0200 Subject: [PATCH] Fix auth.sch login --- config/initializers/oauth.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/oauth.rb b/config/initializers/oauth.rb index 8a331bcd..7dc38dbc 100644 --- a/config/initializers/oauth.rb +++ b/config/initializers/oauth.rb @@ -11,7 +11,7 @@ class Oauth < OmniAuth::Strategies::OAuth2 option :provider_ignores_state, true def request_phase - super + redirect client.auth_code.authorize_url(authorize_params) end def authorize_params