feat(auth): 重构统一认证并支持平级服务无感登录

This commit is contained in:
sophie committed 2026-07-28 09:15:41 +08:00
1 parent d79def5519
commit ca312ea751
64 files changed
+3713 -449

No files matched your search

+4 -3
View File
@@ -13,11 +13,12 @@ LD_LIBRARY_PATH=/app/oracle_client/instantclient_19_31:/app/oracle_client
# 是否启用 JWT 认证
AUTH_JWT_REQUIRED=true
AUTH_LOGIN_MODE=password
# AUTH_LOGIN_MODE=password
# 如果需要用户密码登录,修改该值为password
#AUTH_LOGIN_MODE=casdoor
AUTH_LOGIN_MODE=casdoor
AUTH_JWT_ISSUER=http://ait.well-trust.com:8872
# 必须与 CASDOOR_BASE_URL discovery 返回的 issuer 完全一致,不能填写 HXOPS 地址。
AUTH_JWT_ISSUER=https://autht.well-trust.com
AUTH_JWT_AUDIENCE=758be5fcba2df784fdb4
AUTH_JWT_JWKS_URL=http://192.168.100.192:8870/.well-known/jwks