feat(auth): 添加 SECTL Auth OAuth 登录功能

- 新增 OAuth 登录组件和回调页面
- 集成 Tauri 深度链接插件处理 OAuth 回调
- 添加账户设置页面显示登录信息
- 更新 CI 配置添加 OAuth 环境变量
- 扩展 API 接口支持 OAuth 相关操作
- 添加国际化支持
This commit is contained in:
Yukino_fox
2026-03-29 19:30:27 +08:00
parent 3f3bfbf284
commit 7a59572f11
33 changed files with 8477 additions and 200 deletions
+11
View File
@@ -127,6 +127,7 @@
"tabs": {
"appearance": "Appearance",
"security": "Security",
"account": "Account",
"database": "Database Connection",
"dataManagement": "Data Management",
"urlProtocol": "URL Protocol",
@@ -209,6 +210,16 @@
"passwordClearedNewRecovery": "Password cleared, new recovery string",
"newRecoveryString": "New recovery string (please save it)"
},
"account": {
"title": "SECTL Auth Account",
"notLoggedIn": "Not logged in to SECTL Auth",
"oauthHint": "Use SECTL Auth account to login, enjoy unified authentication and remote logout",
"loginButton": "Login with SECTL Auth",
"loginSuccess": "Login successful",
"logout": "Logout",
"userId": "User ID",
"permission": "Permission Level"
},
"database": {
"title": "Database Connection",
"currentStatus": "Current Database Status",