Browse Source

简化第三方登录配置前缀

test
smallchill 5 years ago
parent
commit
0f1fd17d29
  1. 7
      blade-auth/src/main/resources/application-dev.yml
  2. 7
      blade-auth/src/main/resources/application-prod.yml
  3. 7
      blade-auth/src/main/resources/application-test.yml
  4. 45
      blade-auth/src/main/resources/application.yml

7
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

7
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

7
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

45
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

Loading…
Cancel
Save