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

+1 -1
View File
@@ -4,7 +4,7 @@ export const config = {
// Login mode switch:
// - 'casdoor': submit username/password to backend Casdoor password-login API.
// - 'password': submit to legacy local /api/user/login.
loginMode: 'password',
loginMode: 'casdoor',
casdoor: {
enabled: true,
authorizeApi: '/api/user/casdoor/authorize-url',