增加前后端分离的单点登录样例工程web-sso

This commit is contained in:
zlt
2020-03-14 17:48:35 +08:00
parent 658f4d651e
commit 91328ef6cc
19 changed files with 344 additions and 60 deletions
@@ -0,0 +1,23 @@
server:
port: 8080
spring:
application:
name: sso-demo
zlt:
api-uaa:
url: http://127.0.0.1:9900/api-uaa/oauth
logout-uri: ${zlt.api-uaa.url}/remove/token?redirect_uri=http://127.0.0.1:8080&access_token=
security:
oauth2:
sso:
login-path: /singleLogin
client:
client-id: zlt
client-secret: zlt
access-token-uri: ${zlt.api-uaa.url}/token
user-authorization-uri: ${zlt.api-uaa.url}/authorize
resource:
token-info-uri: ${zlt.api-uaa.url}/check_token