feat(identity): 收敛 AI Gateway 统一认证入口
Web 登录页合并为单一统一认证入口,未指定上下文时由认证中心在登录后决策。继续接受旧客户端显式传入 platform 或 tenant,并保持回调上下文及 tenant_hint 的绑定校验。同步更新 OpenAPI 产物。\n\n验证:Go 全量测试与 go vet 通过;Web lint、141 项 Vitest 和生产构建通过;本地 platform.admin 登录及管理工作台访问通过。
This commit is contained in:
@@ -5909,10 +5909,9 @@
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "显式登录上下文:platform 或 tenant",
|
||||
"description": "兼容旧入口的显式登录上下文:platform 或 tenant;省略时由认证中心选择",
|
||||
"name": "contextType",
|
||||
"in": "query",
|
||||
"required": true
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
|
||||
@@ -7895,10 +7895,9 @@ paths:
|
||||
in: query
|
||||
name: returnTo
|
||||
type: string
|
||||
- description: 显式登录上下文:platform 或 tenant
|
||||
- description: 兼容旧入口的显式登录上下文:platform 或 tenant;省略时由认证中心选择
|
||||
in: query
|
||||
name: contextType
|
||||
required: true
|
||||
type: string
|
||||
- description: Tenant 上下文可选的稳定 Tenant UUID
|
||||
in: query
|
||||
|
||||
Reference in New Issue
Block a user