Integrate credentials manager with host authentication system

- Add credential selection tab to Host Manager editor
- Create CredentialSelector component for credential selection
- Update form validation to support credential-based authentication
- Extend SSH host interfaces with credentialId field
- Add internationalization support for credential authentication
- Fix OIDC config endpoint to return 200 with null data instead of 404
- Improve credentials UI spacing and color consistency
- Remove hardcoded colors and use Zinc theme throughout
This commit is contained in:
ZacharyZcR
2025-09-06 17:44:41 +08:00
parent 81fca5b074
commit 199a9f6e52
14 changed files with 429 additions and 158 deletions
+5
View File
@@ -131,6 +131,7 @@
"loading": "Loading",
"required": "Required",
"optional": "Optional",
"clear": "Clear",
"toggleSidebar": "Toggle Sidebar",
"sidebar": "Sidebar",
"home": "Home",
@@ -376,6 +377,10 @@
"authentication": "Authentication",
"password": "Password",
"key": "Key",
"credential": "Credential",
"selectCredential": "Select Credential",
"selectCredentialPlaceholder": "Choose a credential...",
"credentialRequired": "Credential is required when using credential authentication",
"sshPrivateKey": "SSH Private Key",
"keyPassword": "Key Password",
"keyType": "Key Type",
+5
View File
@@ -131,6 +131,7 @@
"loading": "加载中",
"required": "必填",
"optional": "可选",
"clear": "清除",
"toggleSidebar": "切换侧边栏",
"sidebar": "侧边栏",
"home": "首页",
@@ -397,6 +398,10 @@
"authentication": "认证方式",
"password": "密码",
"key": "密钥",
"credential": "凭证",
"selectCredential": "选择凭证",
"selectCredentialPlaceholder": "选择一个凭证...",
"credentialRequired": "使用凭证认证时需要选择凭证",
"sshPrivateKey": "SSH 私钥",
"keyPassword": "密钥密码",
"keyType": "密钥类型",