统一身份认证相关环境变量
This commit is contained in:
parent
edfe7549a3
commit
15db5f3b74
|
|
@ -89,7 +89,9 @@ jwt:
|
|||
id: aiccs-api
|
||||
secret: 6541af925f844c84862fb114e00c8a73
|
||||
ttlMillis: 10800000
|
||||
|
||||
server:
|
||||
servlet:
|
||||
context-path: /aiccs-api
|
||||
#用户的密码sm3秘钥
|
||||
#sm3:
|
||||
# secret: 6a1ae0c5cd564f848207f8f3f8cf6f14
|
||||
|
|
@ -154,3 +156,23 @@ punishment:
|
|||
oauth2:
|
||||
sm4:
|
||||
key: ${SM4_LOGIN_KEY:59eefc6ab7b5c9f06de12a3eefb06db5}
|
||||
# 统一认证平台配置
|
||||
unified-auth:
|
||||
# 认证地址,根据实际环境配置
|
||||
auth-url: ${UNIFIED_AUTH_URL:http://172.16.22.181:11000}
|
||||
# 客户端ID,由统一认证平台分配
|
||||
client-id: ${UNIFIED_AUTH_CLIENT_ID:SAC}
|
||||
# 客户端秘钥,由统一认证平台分配
|
||||
client-secret: ${UNIFIED_AUTH_CLIENT_SECRET:}
|
||||
# 回调地址,需与统一认证平台注册时的回调地址一致
|
||||
redirect-uri: ${UNIFIED_AUTH_REDIRECT_URI:http://172.16.22.181:8800/aiccs-api/oauth2/callback}
|
||||
# 授权码接口路径
|
||||
authorize-path: /authcenter/getOauth2Authorize
|
||||
# 获取令牌接口路径
|
||||
token-path: /authcenter/getOauth2Token
|
||||
# 获取用户信息接口路径
|
||||
userinfo-path: /authcenter/getOauth2UserInfo
|
||||
# 验证令牌有效性接口路径
|
||||
check-token-path: /authcenter/checkTAValid
|
||||
# 单点登出接口路径
|
||||
logout-path: /authcenter/userLogout
|
||||
|
|
|
|||
Loading…
Reference in New Issue