feat: add Kiro OAuth login support
- Add Kiro OAuth card to OAuthPage with AWS Builder ID and IDC login - Support refreshToken import from Kiro IDE - Add kiro.svg icon - Add i18n translations for zh-CN and en
This commit is contained in:
@@ -675,7 +675,26 @@
|
||||
"iflow_cookie_result_expired": "Expires At",
|
||||
"iflow_cookie_result_path": "Saved Path",
|
||||
"iflow_cookie_result_type": "Type",
|
||||
"remote_access_disabled": "This login method is not available for remote access. Please access from localhost."
|
||||
"remote_access_disabled": "This login method is not available for remote access. Please access from localhost.",
|
||||
"kiro_oauth_title": "Kiro OAuth",
|
||||
"kiro_oauth_hint": "Login to Kiro service via AWS SSO, supporting Builder ID and Identity Center (IDC), or import refreshToken from Kiro IDE directly.",
|
||||
"kiro_builder_id_label": "AWS Builder ID Login",
|
||||
"kiro_builder_id_hint": "Login with AWS Builder ID account, suitable for individual developers.",
|
||||
"kiro_builder_id_button": "Login with Builder ID",
|
||||
"kiro_idc_label": "AWS Identity Center (IDC) Login",
|
||||
"kiro_idc_hint": "Login with enterprise AWS Identity Center, requires Start URL and Region.",
|
||||
"kiro_idc_start_url_label": "Start URL",
|
||||
"kiro_idc_start_url_placeholder": "https://your-org.awsapps.com/start",
|
||||
"kiro_idc_region_label": "Region (Optional)",
|
||||
"kiro_idc_region_placeholder": "us-east-1",
|
||||
"kiro_idc_button": "Login with IDC",
|
||||
"kiro_token_import_label": "Token Import",
|
||||
"kiro_token_import_hint": "Import refreshToken from Kiro IDE, can be found in Kiro IDE's auth file.",
|
||||
"kiro_token_placeholder": "Paste refreshToken",
|
||||
"kiro_token_import_button": "Import Token",
|
||||
"kiro_token_required": "Please enter refreshToken first",
|
||||
"kiro_token_import_success": "Kiro Token imported successfully",
|
||||
"kiro_token_import_error": "Kiro Token import failed:"
|
||||
},
|
||||
"usage_stats": {
|
||||
"title": "Usage Statistics",
|
||||
|
||||
@@ -675,7 +675,26 @@
|
||||
"iflow_cookie_result_expired": "过期时间",
|
||||
"iflow_cookie_result_path": "保存路径",
|
||||
"iflow_cookie_result_type": "类型",
|
||||
"remote_access_disabled": "远程访问不支持此登录方式,请从本地 (localhost) 访问"
|
||||
"remote_access_disabled": "远程访问不支持此登录方式,请从本地 (localhost) 访问",
|
||||
"kiro_oauth_title": "Kiro OAuth",
|
||||
"kiro_oauth_hint": "通过 AWS SSO 登录 Kiro 服务,支持 Builder ID 和 Identity Center (IDC) 两种方式,或直接导入 Kiro IDE 的 refreshToken。",
|
||||
"kiro_builder_id_label": "AWS Builder ID 登录",
|
||||
"kiro_builder_id_hint": "使用 AWS Builder ID 账号登录,适用于个人开发者。",
|
||||
"kiro_builder_id_button": "使用 Builder ID 登录",
|
||||
"kiro_idc_label": "AWS Identity Center (IDC) 登录",
|
||||
"kiro_idc_hint": "使用企业 AWS Identity Center 登录,需要提供 Start URL 和 Region。",
|
||||
"kiro_idc_start_url_label": "Start URL",
|
||||
"kiro_idc_start_url_placeholder": "https://your-org.awsapps.com/start",
|
||||
"kiro_idc_region_label": "Region (可选)",
|
||||
"kiro_idc_region_placeholder": "us-east-1",
|
||||
"kiro_idc_button": "使用 IDC 登录",
|
||||
"kiro_token_import_label": "Token 导入",
|
||||
"kiro_token_import_hint": "从 Kiro IDE 导入 refreshToken,可在 Kiro IDE 的认证文件中找到。",
|
||||
"kiro_token_placeholder": "粘贴 refreshToken",
|
||||
"kiro_token_import_button": "导入 Token",
|
||||
"kiro_token_required": "请先填写 refreshToken",
|
||||
"kiro_token_import_success": "Kiro Token 导入成功",
|
||||
"kiro_token_import_error": "Kiro Token 导入失败:"
|
||||
},
|
||||
"usage_stats": {
|
||||
"title": "使用统计",
|
||||
|
||||
Reference in New Issue
Block a user