feat(mcp): add OAuth 2.1 support (#505)

* feat(mcp): add OAuth 2.1 support with dynamic client registration

* feat(api): alias bare oauth-authorization-server discovery endpoint

* fix(auth): preserve user session on OAuth sign-in redirect to consent
This commit is contained in:
Yiling-J
2026-10-29 15:39:37 +08:00
committed by GitHub
parent 96539207d0
commit baf30730af
39 changed files with 19604 additions and 44 deletions
+12 -1
View File
@@ -1593,5 +1593,16 @@
"hide_agent": "Hide Agent",
"hide_agent_description": "Hide the AGENTS.md button, agent-chat sidebar, and chatbot trigger button across the entire team.",
"appearance_settings_updated": "Appearance settings updated",
"failed_update_appearance_settings": "Failed to update appearance settings"
"failed_update_appearance_settings": "Failed to update appearance settings",
"authorize_application": "Authorize Application",
"authorize_application_subtitle": "An application is requesting access to your Shumai account and tools.",
"application_client_id": "Client ID",
"requested_permissions": "Requested Permissions",
"logged_in_as": "Logged in as",
"authorize": "Authorize",
"authorizing": "Authorizing...",
"deny": "Deny",
"denying": "Denying...",
"consent_failed": "Failed to process authorization",
"mcp_access_scope_desc": "Full user-level access to Shumai workspace and MCP tools"
}
+12 -1
View File
@@ -1593,5 +1593,16 @@
"hide_agent": "隐藏 Agent",
"hide_agent_description": "在整个团队中隐藏 AGENTS.md 按钮、Agent 聊天侧边栏和触发按钮。",
"appearance_settings_updated": "外观设置已更新",
"failed_update_appearance_settings": "更新外观设置失败"
"failed_update_appearance_settings": "更新外观设置失败",
"authorize_application": "授权应用",
"authorize_application_subtitle": "某个应用正在请求访问您的 Shumai 账户及相关工具。",
"application_client_id": "客户端 ID",
"requested_permissions": "请求的权限",
"logged_in_as": "当前登录账号",
"authorize": "授权",
"authorizing": "授权中...",
"deny": "拒绝",
"denying": "拒绝中...",
"consent_failed": "处理授权失败",
"mcp_access_scope_desc": "以当前用户权限完全访问 Shumai 工作空间及 MCP 工具"
}