From 0f1fd17d290c0d53444af3d1ddca50d5d66d1239 Mon Sep 17 00:00:00 2001 From: smallchill Date: Fri, 1 May 2020 23:48:54 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E7=AE=80=E5=8C=96=E7=AC=AC=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E7=99=BB=E5=BD=95=E9=85=8D=E7=BD=AE=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dev.yml | 7 ++- .../src/main/resources/application-prod.yml | 7 ++- .../src/main/resources/application-test.yml | 7 ++- blade-auth/src/main/resources/application.yml | 45 +++++++++---------- 4 files changed, 31 insertions(+), 35 deletions(-) diff --git a/blade-auth/src/main/resources/application-dev.yml b/blade-auth/src/main/resources/application-dev.yml index a1dad326..152ff709 100644 --- a/blade-auth/src/main/resources/application-dev.yml +++ b/blade-auth/src/main/resources/application-dev.yml @@ -10,7 +10,6 @@ spring: password: ${blade.datasource.dev.password} #第三方登陆 -blade: - social: - enabled: true - domain: http://127.0.0.1:1888 +social: + enabled: true + domain: http://127.0.0.1:1888 diff --git a/blade-auth/src/main/resources/application-prod.yml b/blade-auth/src/main/resources/application-prod.yml index 05210626..a13351f4 100644 --- a/blade-auth/src/main/resources/application-prod.yml +++ b/blade-auth/src/main/resources/application-prod.yml @@ -10,7 +10,6 @@ spring: password: ${blade.datasource.prod.password} #第三方登陆 -blade: - social: - enabled: true - domain: http://127.0.0.1:1888 +social: + enabled: true + domain: http://127.0.0.1:1888 diff --git a/blade-auth/src/main/resources/application-test.yml b/blade-auth/src/main/resources/application-test.yml index 861a056d..6f51f71d 100644 --- a/blade-auth/src/main/resources/application-test.yml +++ b/blade-auth/src/main/resources/application-test.yml @@ -10,7 +10,6 @@ spring: password: ${blade.datasource.test.password} #第三方登陆 -blade: - social: - enabled: true - domain: http://127.0.0.1:1888 +social: + enabled: true + domain: http://127.0.0.1:1888 diff --git a/blade-auth/src/main/resources/application.yml b/blade-auth/src/main/resources/application.yml index 000f90ef..e596e70b 100644 --- a/blade-auth/src/main/resources/application.yml +++ b/blade-auth/src/main/resources/application.yml @@ -26,26 +26,25 @@ swagger: - org.springframework.security.oauth2.provider.endpoint #第三方登陆 -blade: - social: - oauth: - GITHUB: - client-id: 233************ - client-secret: 233************************************ - redirect-uri: ${blade.social.domain}/oauth/redirect/github - GITEE: - client-id: 233************ - client-secret: 233************************************ - redirect-uri: ${blade.social.domain}/oauth/redirect/gitee - WECHAT_OPEN: - client-id: 233************ - client-secret: 233************************************ - redirect-uri: ${blade.social.domain}/oauth/redirect/wechat - QQ: - client-id: 233************ - client-secret: 233************************************ - redirect-uri: ${blade.social.domain}/oauth/redirect/qq - DINGTALK: - client-id: 233************ - client-secret: 233************************************ - redirect-uri: ${blade.social.domain}/oauth/redirect/dingtalk +social: + oauth: + GITHUB: + client-id: 233************ + client-secret: 233************************************ + redirect-uri: ${blade.social.domain}/oauth/redirect/github + GITEE: + client-id: 233************ + client-secret: 233************************************ + redirect-uri: ${blade.social.domain}/oauth/redirect/gitee + WECHAT_OPEN: + client-id: 233************ + client-secret: 233************************************ + redirect-uri: ${blade.social.domain}/oauth/redirect/wechat + QQ: + client-id: 233************ + client-secret: 233************************************ + redirect-uri: ${blade.social.domain}/oauth/redirect/qq + DINGTALK: + client-id: 233************ + client-secret: 233************************************ + redirect-uri: ${blade.social.domain}/oauth/redirect/dingtalk