SCIM
SCIM lets your identity provider (for example Microsoft Entra ID or Okta) create, update and switch off TAO accounts automatically, so you do not do it by hand. This page shows whether SCIM is ready and gives you the address to paste into your provider.
Open the page
Go to Administration → SCIM (/admin/scim). It is titled SCIM Provisioning: "Automated user provisioning via SCIM 2.0 from your identity provider." Platform admins only.
The status card
| Card | Meaning |
|---|---|
| SCIM Active | "Bearer token is configured. Ready to receive provisioning requests from your IdP." |
| SCIM Not Configured | "Set SCIM_BEARER_TOKEN environment variable to enable SCIM provisioning." |
| Checking… | Still loading |
When active, a SCIM Endpoint URL box appears with a Copy button. The address ends in /scim/v2. The page never shows the token: "configure it once in Azure or Okta provisioning settings."
Set it up
Generate a bearer token
Make a long random secret, for example with
openssl rand -hex 32.Set the environment variable
Add it as
SCIM_BEARER_TOKENon the API Gateway (through your secret store) and restart the container. There is no screen in TAO to set or change it.Configure your identity provider
In Azure AD, use the Provisioning blade. In Okta, use the app's Provisioning settings. Paste the endpoint URL and the token.
Test the connection
Back on this page, click Test Connection.
Test Connection
It shows "Testing…" while it runs. A good result reads ✓ SCIM ready with "SCIM endpoint ready — N user(s) available for provisioning". A bad one reads ✗ SCIM not ready, for example "SCIM_BEARER_TOKEN environment variable is not set on the gateway container." or "Request to api-gateway failed."
The test only checks that the token is set and the database can be reached. It does not call your identity provider or send a real provisioning request.
What SCIM can do
| Operation | Effect |
|---|---|
GET /Users | List users, filter by email or user name |
POST /Users | Create a user (safe to repeat if the user name exists) |
GET /Users/(id) | Read one user |
PUT /Users/(id) | Replace a user |
PATCH /Users/(id) | Change part of a user, including switching on or off |
DELETE /Users/(id) | Switch the user off (soft delete) |
Switching a user off also signs them out everywhere.