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} password: ${blade.datasource.dev.password}
#第三方登陆 #第三方登陆
blade: social:
social: enabled: true
enabled: true domain: http://127.0.0.1:1888
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} password: ${blade.datasource.prod.password}
#第三方登陆 #第三方登陆
blade: social:
social: enabled: true
enabled: true domain: http://127.0.0.1:1888
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} password: ${blade.datasource.test.password}
#第三方登陆 #第三方登陆
blade: social:
social: enabled: true
enabled: true domain: http://127.0.0.1:1888
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 - org.springframework.security.oauth2.provider.endpoint
#第三方登陆 #第三方登陆
blade: social:
social: oauth:
oauth: GITHUB:
GITHUB: client-id: 233************
client-id: 233************ client-secret: 233************************************
client-secret: 233************************************ redirect-uri: ${blade.social.domain}/oauth/redirect/github
redirect-uri: ${blade.social.domain}/oauth/redirect/github GITEE:
GITEE: client-id: 233************
client-id: 233************ client-secret: 233************************************
client-secret: 233************************************ redirect-uri: ${blade.social.domain}/oauth/redirect/gitee
redirect-uri: ${blade.social.domain}/oauth/redirect/gitee WECHAT_OPEN:
WECHAT_OPEN: client-id: 233************
client-id: 233************ client-secret: 233************************************
client-secret: 233************************************ redirect-uri: ${blade.social.domain}/oauth/redirect/wechat
redirect-uri: ${blade.social.domain}/oauth/redirect/wechat QQ:
QQ: client-id: 233************
client-id: 233************ client-secret: 233************************************
client-secret: 233************************************ redirect-uri: ${blade.social.domain}/oauth/redirect/qq
redirect-uri: ${blade.social.domain}/oauth/redirect/qq DINGTALK:
DINGTALK: client-id: 233************
client-id: 233************ client-secret: 233************************************
client-secret: 233************************************ redirect-uri: ${blade.social.domain}/oauth/redirect/dingtalk
redirect-uri: ${blade.social.domain}/oauth/redirect/dingtalk

Loading…
Cancel
Save