Docs
Sign in

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.

Screenshot to add: The SCIM page showing the status card, endpoint URL, Test Connection button and setup steps.

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

CardMeaning
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

  1. Generate a bearer token

    Make a long random secret, for example with openssl rand -hex 32.

  2. Set the environment variable

    Add it as SCIM_BEARER_TOKEN on the API Gateway (through your secret store) and restart the container. There is no screen in TAO to set or change it.

  3. 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.

  4. 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

OperationEffect
GET /UsersList users, filter by email or user name
POST /UsersCreate 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.

Known gaps