feat(auth): 重构统一认证并支持平级服务无感登录
This commit is contained in:
1 parent
d79def5519
commit
ca312ea751
64 files changed
+3713
-449
No files matched your search
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user