From e5c665f33d92e58f86c5c8e8e05dccaa5233c3e9 Mon Sep 17 00:00:00 2001 From: Lukas Hirt Date: Mon, 12 Jan 2026 10:24:39 +0100 Subject: [PATCH] feat: [OCISDEV-459] add multi-instance support Added new properties to the user object to support multi-instance support. The two new properties are `instances` and `crossInstanceReference`. The `crossInstanceReference` property is used to query the user from a different oCIS instance connected to the same identity provider. The `instances` property is an array of all instances that the user is either a member or a guest of. --- api/openapi-spec/v1.0.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/api/openapi-spec/v1.0.yaml b/api/openapi-spec/v1.0.yaml index 6bada58..f306359 100644 --- a/api/openapi-spec/v1.0.yaml +++ b/api/openapi-spec/v1.0.yaml @@ -4520,6 +4520,14 @@ components: externalID: type: string description: 'A unique identifier assigned to the user by the organization.' + crossInstanceReference: + type: string + description: 'A unique reference to the user. This is used to query the user from a different oCIS instance connected to the same identity provider.' + instances: + type: array + items: + $ref: '#/components/schemas/instance' + description: 'oCIS instances that the user is either a member or a guest of.' itemReference: type: object properties: @@ -5669,6 +5677,17 @@ components: type: string description: 'The display name for the application.' nullable: true + instance: + type: object + title: instance + description: 'An oCIS instance that the user is either a member or a guest of.' + properties: + url: + type: string + description: 'The URL of the oCIS instance.' + primary: + type: boolean + description: "Whether the instance is the user's primary instance." responses: error: description: error