fix(identity): 兼容多租户 V2 无固定租户映射
多租户 Revision 改为按 Token tid 动态解析租户,配对和验证不再要求 default 映射;单租户 V1 继续保留固定映射门禁。同步补齐 tenantMode 共享契约与 OpenAPI 产物。\n\n验证:Web 测试 129 项通过;pnpm lint 通过;Web 生产构建通过;pnpm openapi 通过。
This commit is contained in:
@@ -9753,6 +9753,9 @@
|
||||
"tenantKey": {
|
||||
"type": "string"
|
||||
},
|
||||
"tenantName": {
|
||||
"type": "string"
|
||||
},
|
||||
"userGroupId": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -12376,9 +12379,21 @@
|
||||
"supersededAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"tenantContextAudience": {
|
||||
"type": "string"
|
||||
},
|
||||
"tenantContextEndpoint": {
|
||||
"type": "string"
|
||||
},
|
||||
"tenantContextScope": {
|
||||
"type": "string"
|
||||
},
|
||||
"tenantId": {
|
||||
"type": "string"
|
||||
},
|
||||
"tenantMode": {
|
||||
"type": "string"
|
||||
},
|
||||
"tokenIntrospection": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
@@ -32,6 +32,8 @@ definitions:
|
||||
type: string
|
||||
tenantKey:
|
||||
type: string
|
||||
tenantName:
|
||||
type: string
|
||||
userGroupId:
|
||||
type: string
|
||||
userGroupKey:
|
||||
@@ -1858,8 +1860,16 @@ definitions:
|
||||
$ref: '#/definitions/identity.RevisionState'
|
||||
supersededAt:
|
||||
type: string
|
||||
tenantContextAudience:
|
||||
type: string
|
||||
tenantContextEndpoint:
|
||||
type: string
|
||||
tenantContextScope:
|
||||
type: string
|
||||
tenantId:
|
||||
type: string
|
||||
tenantMode:
|
||||
type: string
|
||||
tokenIntrospection:
|
||||
type: boolean
|
||||
updatedAt:
|
||||
|
||||
Reference in New Issue
Block a user