Provision users with SCIM
Connect your identity provider to create, update and deactivate Joring accounts and groups automatically.
SCIM (System for Cross-domain Identity Management) is the standard that lets your identity provider create, update and remove accounts in other apps. Joring implements SCIM 2.0 (RFC 7643 and 7644) for users and groups. When SCIM is connected, your identity provider decides who has a Joring account and which groups they are in. The roles that you assign on those groups then follow membership.
SCIM is part of the Enterprise plan. There are step-by-step guides for Okta and Microsoft Entra ID.
Connect your directory
In Settings → Identity & access → SCIM, create a connection. You get two values to paste into your identity provider:
| SCIM Base URL | https://api.joring.ai/scim/v2/{connection_id} |
| Secret token | Starts with jor_scim_ |
Joring shows the token once, when you create it. Joring stores only a hash of it, so you cannot get a lost token back. Instead, rotate it: create a new token, update your identity provider, then revoke the old token. In that order, provisioning never stops.
A token can expire after 90 days, 180 days or 1 year, or never. You choose when you create it, and you cannot change it later; rotate the token instead. The Tokens tab warns you when a token expires within 30 days.
What Joring supports
| Capability | Support |
|---|---|
| Users | Create, read, update (PUT and PATCH), deactivate, reactivate, delete |
| Groups | Create, read, update (PUT and PATCH), delete, membership changes. Pushed groups appear in People → Groups |
| Filtering | eq, ne, co, sw, ew, pr on the attributes below, plus and, or, not |
| Pagination | startIndex and count, up to 200 results per page |
| ETag versioning | meta.version and If-Match |
| Attribute projection | attributes and excludedAttributes |
| Enterprise User extension | Accepted and stored. The manager attribute builds the reporting chart |
| Bulk operations and sorting | Not supported. ServiceProviderConfig advertises both as unsupported |
/Me | Not supported. Requests to it get a SCIM 404 |
The roles and entitlements attributes | Read-only and not stored. Ignored on create and replace, refused with mutability when a PATCH names them, and recorded as scim.user.attributes_ignored. Assign roles on the group in People → Groups |
User attributes
| SCIM attribute | How Joring uses it |
|---|---|
userName | The unique identifier for each connection. Filterable. |
externalId | Stored, and unique for each connection. Filterable. |
emails | The primary (or first) email becomes the account email. emails.value and emails[type eq "work"].value are filterable. |
name.givenName, name.familyName | First and last name. |
displayName, name.formatted | Display name, in that order of preference. |
active | Whether the account is active. Accepts booleans and the strings "True" and "False". Filterable. |
meta.lastModified | Filterable with gt, ge, lt, le. |
Enterprise manager | Builds the reporting chart. |
groups | Read-only. Every user response lists the person's synced groups on this connection. Groups managed in Joring are left out. Change membership through the Groups resource. |
Everything else (title, phoneNumbers, ...) | Stored and sent back, but not used by Joring. |
One email for each user
Joring stores one email for each user: the primary email, or the first one sent. In your identity
provider, map only the primary or work email, and do not map other email types. Joring stores
extra types but does not send them back, and an update to one email type changes only the work
email (emails[type eq "work"].value).
Group attributes
| SCIM attribute | How Joring uses it |
|---|---|
displayName | Required, and unique in the team, ignoring capital letters. Filterable. A name that matches a group managed in Joring takes that group over. |
externalId | Stored, and unique for each connection. Filterable. |
members | Member references (value is the SCIM user ID). members[value eq "..."] is filterable. Nested groups are not supported. |
Groups from your directory
Groups that your identity provider pushes appear in People → Groups with a Synced from badge, next to the groups managed in Joring. The identity provider owns a synced group's name and membership. You set its description, roles and managers in Joring, on the group's page. See Groups for how groups work.
- Roles follow membership. Every provisioned member of a synced group holds the roles assigned on it, and loses them when they leave the group. Roles stack: a person in two groups holds the roles of both, and any roles granted directly in Joring. A role from a group shows as From group on the person's record, and you remove it through the group, not on the person.
- A pushed group takes over a group with the same name. If the
displayNamematches a group managed in Joring, the push links to that group instead of creating a second one. The push replaces its members, and keeps its description, roles and managers. The audit log records this asteam.group.linked. - Disconnect, on the group's page, moves a synced group back to Joring
management and keeps its members. The identity provider's requests for that
group then get
404, until it pushes the group again and links it by name. To do this for every synced group at once, open the Connection tab in Settings → Identity & access → SCIM and choose Move all to Joring management. DELETE /Groups/{id}deletes the group in Joring, with its memberships, its roles and its managers' scope. Roles that the members held through it end.- SCIM never changes the Owner. Ownership moves only by a transfer in Joring.
The audit log records role changes that come from the
directory as team.member.group_roles_changed.
Reporting lines from your directory
The enterprise manager attribute syncs each person's manager into their
Joring profile, and so builds the reporting chart. The identity provider owns
these links. You cannot edit them in Joring, and they update at every sync.
Synced reporting lines give no visibility until you decide otherwise. A sync does not grant the Manager role unless you turn on Manager visibility in the Connection tab of Settings → Identity & access → SCIM. When it is on, everyone who has direct reports gets the Manager role, and later syncs grant it when someone gets their first report. The audit log records every grant, and you can remove each one. Joring does not grant a removed role again while the person keeps their reports. Turning on Manager visibility needs the same authority as granting the Manager role by hand.
What create, deactivate and delete do
Your identity provider deprovisions someone in one of two ways: deactivate or delete. This page uses deprovision for both. Both keep the person's Joring account and all their past data.
- Create provisions an account. Joring sends no email; people sign in through your identity provider as usual. If an account with the same email already exists, Joring links it when that account is already a member of the team, or when its email domain is verified for your team. Otherwise, Joring refuses the create.
- Deactivate (
active: false) removes team access at once. Joring releases the membership and its seat, ends the person's app sessions for the team, and revokes their desktop agent and CLI tokens. The Directory tab lists deactivated people as Deprovisioned. Reactivating restores the membership. Roles granted in Joring survive deactivation, and roles from the person's groups come back with the membership. - Delete removes the SCIM record completely. Later reads get
404, and the person no longer appears in the Directory tab. - Deprovisioning never shows anyone a member's conversation text.
Deprovisioning keeps the person's data. When they are no longer a member, they appear under the Removed filter in People → Members. There, the Owner, Co-owners, Admins and IT admins can delete the person's captured data in the team. The person can also delete their whole Joring account. When a team is deleted, an account that your identity provider created for that team, and that belongs to no other team, is deleted with it. See Data deletion.
Check the Directory tab
The Directory tab in Settings → Identity & access → SCIM lists everyone that your identity provider has sent. You can filter it by Active and Deprovisioned. Open it when someone says that they cannot sign in. If they are not in the list, the problem is the app assignment in your identity provider, not Joring.
Troubleshooting
| Symptom | Meaning |
|---|---|
401 Unauthorized | The token is missing, revoked or expired, or the connection is turned off. |
403 Forbidden | The team's plan does not include SCIM. |
409 Conflict (uniqueness) | Another user already has that userName, externalId or email. Or the group's externalId is already on the connection, or its displayName matches another group in the team (ignoring capital letters). A match with a group managed in Joring links instead of conflicting; a match with another synced group conflicts. |
409 Conflict (seat limit) | The team has used all of its contracted seats. |
409 Conflict (owner) | SCIM cannot deprovision the Owner. Transfer ownership first. |
| A user is missing from Directory | The identity provider never sent them. Check the app assignment in your identity provider. |
| Unquoted filter values in IdP logs | Not an error. Some identity providers send filter values without quotes, and Joring accepts both forms. |
SCIM and SSO work separately
SCIM provisions accounts, and SSO signs people in. You can use either one alone. Together, the usual setup is SCIM with Require invitation turned on in SSO. The directory then decides membership, and Joring never creates an account on its own.
Membership, ownership, and the roles you can grant.