From eec57f26b99a7f3b140f73e8cc8cbf720637f41b Mon Sep 17 00:00:00 2001 From: chenjing Date: Wed, 13 Oct 2021 09:46:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8E=88=E6=9D=83=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/libs/mulanoss_oauth.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/libs/mulanoss_oauth.rb b/app/libs/mulanoss_oauth.rb index 489005ba..0ad1b90e 100644 --- a/app/libs/mulanoss_oauth.rb +++ b/app/libs/mulanoss_oauth.rb @@ -11,7 +11,7 @@ module MulanossOauth end def oauth_url - "#{base_url}/action/oauth2/authorize?client_id=#{client_id}&redirect_uri=#{URI.encode_www_form_component(redirect_uri)}&response_type=code" + "#{base_url}/api/auth/oschina?client_id=#{client_id}&redirect_uri=#{URI.encode_www_form_component(redirect_uri)}&response_type=code" end end