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

+7
View File
@@ -8,6 +8,13 @@
"refresh": "Refresh",
"yes": "Yes",
"no": "No",
"sso": {
"authorizing": "Opening the external system",
"authorizingHint": "Completing secure single sign-on. Please wait.",
"failed": "Single sign-on failed",
"invalidRequest": "The external login request is invalid or expired. Start again from the target system.",
"backToHxops": "Back to HXOPS"
},
"deleteDialog": {
"defaultTitle": "Are you sure you want to delete?",
"defaultMessage": "When clicked the OK button, this dialog will be closed after 1 second",
+5
View File
@@ -6,6 +6,11 @@
"AUTH_INCORRECT_CURRENT_PASSWORD": "Incorrect current password",
"AUTH_USER_NOT_FOUND": "User not found",
"AUTH_ACCOUNT_DISABLED": "Account is disabled",
"AUTH_CASDOOR_IDENTITY_INVALID": "Casdoor did not return a stable user identity. Check the OIDC configuration.",
"AUTH_SSO_CONFIG_ERROR": "The SSO application configuration is invalid. Contact an administrator.",
"AUTH_SSO_APP_NOT_FOUND": "The target system is not configured or is disabled.",
"AUTH_SSO_IDENTITY_UNSUPPORTED": "The current session is not backed by Casdoor. Log in again and retry.",
"AUTH_SSO_ASSERTION_ISSUE_FAILED": "The peer-service login assertion could not be issued. Please retry.",
"AUTH_FORBIDDEN": "You do not have permission to perform this action.",
"RESOURCE_NOT_FOUND": "The requested resource was not found.",
"RESOURCE_CONFLICT": "Request conflict. Please refresh and try again.",