From e0cdb31892d0701fa99481bf941dda1abfb82bc3 Mon Sep 17 00:00:00 2001 From: jack Date: Tue, 17 Jun 2025 10:28:47 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=94=A7Modify=20the=20parameter?= =?UTF-8?q?=20name=20in=20the=20URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/oauth2_basic_authenticator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oauth2_basic_authenticator.rb b/lib/oauth2_basic_authenticator.rb index 0b77def..6c45437 100644 --- a/lib/oauth2_basic_authenticator.rb +++ b/lib/oauth2_basic_authenticator.rb @@ -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] = {