From 525921c129962391d513394f8a248c3f95f3a82e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Thu, 13 Jul 2023 15:50:31 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E5=A2=9E=E5=8A=A0=20gitee=20=E4=B8=8E=20?= =?UTF-8?q?maxkey=20=E9=BB=98=E8=AE=A4=E5=8F=AF=E7=94=A8=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/application-dev.yml | 12 +++++++----- ruoyi-admin/src/main/resources/application-prod.yml | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application-dev.yml b/ruoyi-admin/src/main/resources/application-dev.yml index fbd134fb..0b1d0057 100644 --- a/ruoyi-admin/src/main/resources/application-dev.yml +++ b/ruoyi-admin/src/main/resources/application-dev.yml @@ -182,13 +182,15 @@ sms: --- # 三方授权 justauth: enabled: true + # 前端外网访问地址 address: http://localhost:80 type: maxkey: # maxkey 服务器地址 - server-url: http://localhost:8080 - client-id: 10**********6 - client-secret: 1f7d08**********5b7**********29e + # 注意 如下均配置均不需要修改 maxkey 已经内置好了数据 + server-url: http://sso.maxkey.top + client-id: 876892492581044224 + client-secret: x1Y5MTMwNzIwMjMxNTM4NDc3Mzche8 redirect-uri: ${justauth.address}/social-callback?source=maxkey qq: client-id: 10**********6 @@ -200,8 +202,8 @@ justauth: client-secret: 1f7d08**********5b7**********29e redirect-uri: ${justauth.address}/social-callback?source=weibo gitee: - client-id: 914******************98 - client-secret: 02*****************ac + client-id: 91436b7940090d09c72c7daf85b959cfd5f215d67eea73acbf61b6b590751a98 + client-secret: 02c6fcfd70342980cd8dd2f2c06c1a350645d76c754d7a264c4e125f9ba915ac redirect-uri: ${justauth.address}/social-callback?source=gitee dingtalk: client-id: 10**********6 diff --git a/ruoyi-admin/src/main/resources/application-prod.yml b/ruoyi-admin/src/main/resources/application-prod.yml index 5cbe552d..4f3838c7 100644 --- a/ruoyi-admin/src/main/resources/application-prod.yml +++ b/ruoyi-admin/src/main/resources/application-prod.yml @@ -184,13 +184,15 @@ sms: --- # 三方授权 justauth: enabled: true + # 前端外网访问地址 address: http://localhost:80 type: maxkey: # maxkey 服务器地址 - server-url: http://localhost:8080 - client-id: 10**********6 - client-secret: 1f7d08**********5b7**********29e + # 注意 如下均配置均不需要修改 maxkey 已经内置好了数据 + server-url: http://sso.maxkey.top + client-id: 876892492581044224 + client-secret: x1Y5MTMwNzIwMjMxNTM4NDc3Mzche8 redirect-uri: ${justauth.address}/social-callback?source=maxkey qq: client-id: 10**********6 @@ -202,8 +204,8 @@ justauth: client-secret: 1f7d08**********5b7**********29e redirect-uri: ${justauth.address}/social-callback?source=weibo gitee: - client-id: 914******************98 - client-secret: 02*****************ac + client-id: 91436b7940090d09c72c7daf85b959cfd5f215d67eea73acbf61b6b590751a98 + client-secret: 02c6fcfd70342980cd8dd2f2c06c1a350645d76c754d7a264c4e125f9ba915ac redirect-uri: ${justauth.address}/social-callback?source=gitee dingtalk: client-id: 10**********6