SCIM provisioning

A workspace on the Business plan (and Enterprise) can let its directory manage who is in it over SCIM 2.0. It is built for SCIM 2.0 directories such as Okta and Microsoft Entra ID, and is in preview until it has been run against a live directory. Your directory:

SCIM works together with single sign-on: people your directory adds sign in with your identity provider. Set up single sign-on first; Ramphearth won't make a SCIM token until the workspace has a single sign-on connection.

SCIM is set up by an Owner in Org Settings → Security → SCIM provisioning. Admins can see what the directory has done but can't make tokens.

What it never does

Setting it up

1. Make a token

In Org Settings → Security → SCIM provisioning, choose Make a token, give it a name (for example "Okta"), choose how long it lasts (90, 180 or 365 days) and confirm with your password and second factor. Copy the token straight away: it starts with rh_scim_ and is shown once. Ramphearth keeps only a fingerprint of it.

A workspace can hold three live tokens, so you can make a new one before the old one runs out. Revoke a token the moment you no longer need it.

2. Point your directory at Ramphearth

Setting Value
SCIM base URL (tenant URL) https://api.ramphearth.com/scim/v2 (shown in Org Settings; self-hosted: your API's address plus /scim/v2)
Authentication HTTP header, Bearer token: the rh_scim_… token
Unique identifier userName

Okta. Open your Ramphearth app (the one you made for single sign-on), go to General → App Settings → Edit, set Provisioning to SCIM, then on the Provisioning tab set the base URL above, Unique identifier field for users to userName, choose Push New Users, Push Profile Updates and Push Groups, and set Authentication Mode to HTTP Header with the token. Under To App, switch on Create Users, Update User Attributes and Deactivate Users.

Microsoft Entra ID. Open the enterprise application you made for single sign-on, go to Provisioning → Get started, set Provisioning Mode to Automatic, put the base URL in Tenant URL and the token in Secret Token, and choose Test Connection. Keep the default attribute mappings (userPrincipalName → userName, objectId → externalId, mail → emails[type eq "work"].value). Set Scope to the users and groups you assign, then switch Provisioning Status on.

Google Workspace can't push to SCIM apps of its own making; use single sign-on's "accounts made on first sign-in" there instead.

3. Assign people

Assign people (or groups) to the app in your directory. Each one shows up in Org Settings as Waiting to sign in until they sign in with your single sign-on, then Member. A person your directory added can join even if "Make accounts on first sign-in" is off in your single sign-on settings, but only on one of the workspace's verified domains, and only while the workspace has a free member seat.

What each change does

In your directory In Ramphearth
Assign a person A directory user is made. If they already signed in with your single sign-on, they are linked at once; otherwise they're waiting.
They sign in with single sign-on They join the workspace (seat checked, as for any join) and get their groups' roles.
Change their name or address The directory user is updated. Their Ramphearth account keeps its own name and address.
Unassign or disable them (active: false) They are removed from the workspace through the usual leave path. Owners are kept. Someone who was already a member but has never signed in with your single sign-on here isn't linked yet, so nothing can remove them: SCIM provisioning shows them as "still in the workspace" (to Owners and Admins only), and an Owner or Admin removes them in Members. If they sign in with your single sign-on later, they are linked and removed at once.
Assign them again They can join again the next time they sign in.
Delete them The same as switching them off, then the directory user is forgotten.
Push a group A custom role is made with that name (or an existing custom role with the same name is used). Group names are at most 40 characters, like any role name. A role made for the group starts with no permissions: an Owner or Admin chooses what it allows in Org Settings → Roles. An existing role it matches keeps the permissions it already has, so check them before you push a group with that name.
Add or remove group members The role is given to, or taken from, those members.
Rename a group The role is renamed if the directory made it.
Delete a group The role is taken from everyone who got it through the group. The role itself stays; delete it by hand if you want it gone.

Group names pass the workspace's word filter like any other role name.

The API

Ramphearth implements the parts of SCIM 2.0 (RFC 7643 and RFC 7644) that directories use. Requests and answers are application/scim+json (plain application/json is accepted too).

Endpoint Methods
/ServiceProviderConfig, /ResourceTypes, /Schemas GET
/Users GET (list, filter), POST
/Users/{id} GET, PUT, PATCH, DELETE
/Groups GET (list, filter), POST
/Groups/{id} GET, PUT, PATCH, DELETE

A token belongs to one workspace and works only at /scim/v2; it is refused everywhere else in the API.

If your plan changes

Without SCIM in the plan, or while the workspace is read-only because a bill is unpaid, Ramphearth refuses what adds or gives (new people and groups, switching people back on, linking someone, adding to groups, renaming a group) with 403, and keeps accepting what takes away and plain profile changes: switching people off, deleting them, taking them out of groups, and name or address updates. So a workspace that moves to a smaller plan can still remove people from its directory, and its directory's profile pushes keep working.

What we keep

For each directory user: the userName, externalId, name, work address and whether they're active, plus which Ramphearth account they're linked to. For each group: its name, externalId, its role and its members. The token is kept only as a SHA-256 fingerprint and its last four characters. Every change is in the workspace's audit log as scim.* (ids and counts only, never names or addresses), with the token as the actor; removals also appear as org.member_removed with via: "scim".