Identity
- graal Agentic Platform
- Version 0.27 (archived)
- Open source · Apache 2.0
- Source : graalsystems/tranibor@v0.27.17
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.
1. Register the client
Section titled “1. Register the client”At your identity provider, register a confidential client:
- redirect URI:
https://tranibor.example.com/api/v1/auth/callback(yourapiUrlfollowed by/api/v1/auth/callback); - scopes:
openid profile email groups; - a
groupsclaim in the userinfo answer, andsubandemail.
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-oidcThe 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.
2. Give roles through groups
Section titled “2. Give roles through groups”| Group at the identity provider | Role in Tranibor |
|---|---|
choregos:<org>:org-admins |
org_admin of the organisation |
choregos:<org>:product-owners |
project_owner |
choregos:<org>:approvers (formerly release-captains) |
approver (formerly release_captain) |
choregos:<org>:contributors (formerly developers) |
contributor (formerly developer) |
choregos:<org>:viewers |
viewer |
approvers and contributors are the neutral names of release-captains and developers
(ADR 0181 round C1). Until 0.30.0 both spellings give
the same role, and the API may answer either approver or release_captain, contributor or
developer; rename the groups at the identity provider before upgrading to 0.30.0, which reads only
the new ones.
The same claim carries the human groups workflows name: a step for group: architects is offered to
members carrying architects or choregos:acme:architects. Groups without the choregos:<org>:
prefix count only when global.oidc.defaultOrg names the organisation.
The first administrators come from global.bootstrap.admins (Install).
Signing in to the MCP door with OAuth
Section titled “Signing in to the MCP door with OAuth”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 }audienceis the audience your provider puts in the door’s tokens: a token issued for another application does not open the door.clientsnames 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.issueris 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.
Changing the identity provider
Section titled “Changing the identity provider”A new provider gives every person a new sub. Plan the change with
choregos admin identity relink --issuer <new issuer>, then switch the issuer and open a re-link window
in the same deployment:
choregos-api: oidcRelinkUntil: "2026-12-15T00:00:00Z" # an end, at most 31 days aheadUntil 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.
What can go wrong
Section titled “What can go wrong”| 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 choregos:<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.