Skip to content

06 单点登录sso demo

liuweijw edited this page Mar 19, 2018 · 1 revision

1、访问sso工程

2、相关配置

server:
  port: 3001
  context-path: /sso

security:
  oauth2:
    client:
      client-id: 客户端id
      client-secret: 客户端密码
      user-authorization-uri: http://localhost:1004/oauth/authorize # 授权地址
      access-token-uri: http://localhost:1004/oauth/token # 授权token地址
      scope: server
    resource:
      jwt:
        key-value: ENC(jwt key) # jwt token 密匙key 
Clone this wiki locally