对接统一登录认证
This commit is contained in:
@@ -17,7 +17,7 @@ logging:
|
||||
# 日志级别
|
||||
level: debug
|
||||
# 日志文件路径
|
||||
path: /home/code/git/ca-mini/ca-server/logs
|
||||
path: ./logs
|
||||
|
||||
datasource:
|
||||
# 数据源配置
|
||||
@@ -28,4 +28,21 @@ datasource:
|
||||
# 数据库用户名
|
||||
username: root
|
||||
# 数据库密码
|
||||
password: yyds@8848
|
||||
password: yyds@8848
|
||||
|
||||
|
||||
|
||||
|
||||
# OAuth2 配置部分
|
||||
oauth:
|
||||
# 授权服务器的地址
|
||||
authorization_server_host: "http://127.0.0.1:8080"
|
||||
# 客户端 ID,用于标识客户端应用
|
||||
client_id: "certificate-authority-client"
|
||||
# 客户端密钥,用于认证客户端身份
|
||||
client_secret: "certificate-authority-secret"
|
||||
# 回调地址,授权完成后重定向的目标地址
|
||||
redirect_uri: "http://127.0.0.1:9529/callback"
|
||||
# 获取令牌的 URL 路径(通常位于授权服务器下)
|
||||
token_url: "/oauth2/token"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user