Aller au contenu
EN English versionDemander une démo

Identity

People sign in to Tranibor through your identity provider, and their roles come from its groups. No password is stored by Tranibor.

What you will be able to do: register Tranibor at your identity provider, map groups to roles, and let claude.ai or Claude Code sign in to the MCP door with single sign-on.

At your identity provider, register a confidential client:

  • redirect URI: https://tranibor.example.com/api/v1/auth/callback (your apiUrl followed by /api/v1/auth/callback);
  • scopes: openid profile email groups;
  • a groups claim in the userinfo answer, and sub and email.

Put its secret in a Secret under the key client-secret, and point the chart at it:

global:
oidc:
issuer: https://sso.example.com/realms/acme
clientId: tranibor
secretRef: choregos-oidc

The provider must publish a discovery document whose issuer equals global.oidc.issuer. Tranibor signs in with PKCE, a single-use state and a nonce. A person is bound to their sub: a changed e-mail keeps the account. Admin › Identity shows what the instance reads (issuer, client, redirect URI to register, whether the secret is set), never a secret’s value.

Group at the identity provider Role in Tranibor
tranibor:<org>:org-admins org_admin of the organisation
tranibor:<org>:product-owners project_owner
tranibor:<org>:approvers approver
tranibor:<org>:contributors contributor
tranibor:<org>:viewers viewer

approvers and contributors are the neutral names of the former release-captains and developers (ADR 0181 round C1). The former groups give no role since 0.29.0: make the identity provider send the new ones before upgrading.

The same claim carries the human groups workflows name: a step for group: architects is offered to members carrying architects or tranibor:acme:architects. Groups without the tranibor:<org>: prefix count only when global.oidc.defaultOrg names the organisation.

The first administrators come from global.bootstrap.admins (Install).

claude.ai, Claude on mobile and ChatGPT call the MCP door from their vendor’s cloud and sign in with OAuth; Claude Code can too, instead of a pasted token. The door becomes an OAuth resource server with:

global:
mcp:
oauth:
enabled: true
audience: choregos-mcp
clients:
claude-code: { clientId: choregos-claude-code, callbackPort: 33418 }
claude-ai: { clientId: choregos-claude-ai }
  • audience is the audience your provider puts in the door’s tokens: a token issued for another application does not open the door.
  • clients names the clients you registered at your provider, by the console’s names (claude-code, claude-desktop, claude-ai, cursor, vscode, chatgpt, other): the Integrations page then shows each one’s exact setup. An unknown name stops the API at start-up.
  • issuer is empty by default: the console’s own issuer.

The door publishes /.well-known/oauth-protected-resource/mcp. For claude.ai and ChatGPT, it and /mcp must be reachable on a public HTTPS address. A person must have signed in to the console once before the door knows them. Setting up Keycloak for it: runbook.

A new provider gives every person a new sub. Plan the change with tranibor admin identity relink --issuer <new issuer>, then switch the issuer and open a re-link window in the same deployment:

tranibor-api:
oidcRelinkUntil: "2026-12-15T00:00:00Z" # an end, at most 31 days ahead

Until then, each person’s first sign-in through the new provider moves their account (same id, same history) to the new subject, when the provider asserts the address with email_verified: true and one account carries it. The whole procedure: deployment reference, Changing the identity provider.

Symptom Likely cause
sign-in answers 503 the discovery document cannot be read, or its issuer differs from global.oidc.issuer
sign-in answers 401 the ID token’s issuer, audience or nonce does not match the sign-in
a person signs in with no role no tranibor:<org>:… group, or an unprefixed group without defaultOrg
an existing account is not linked the provider says email_verified: false
after a change of provider, 401 “belongs to another identity” no re-link window is open, the provider does not assert email_verified: true, or the account already moved to another identity of the new provider
after a change of provider, 401 “several accounts carry this address” two accounts differ only by letter case: resolve them, then sign in again
401 invalid_token at the MCP door with OAuth a wrong audience or issuer, or keys the provider no longer publishes

Everything about identity, including moving to a new provider and per-organisation providers: deployment reference, Identity.