SCIM provisioning
Connect your identity provider, such as Okta or Microsoft Entra ID, so it creates, updates and removes your organization's members.
Who can do this:Org admin
SCIM lets your company's identity provider manage your organization's members. When IT adds a person to the Swarmix app in Okta, Microsoft Entra ID or OneLogin, the person gets a Swarmix account and joins your organization. When IT removes them, they lose access.
Before you start
You need the organization admin role in the Swarmix web dashboard. Studio has no SCIM settings.
Connect your identity provider
- In the web dashboard, open Organization and scroll to SCIM Provisioning.
- Click Generate SCIM Token.
- Enter a Label, such as "Okta Production", and an Expiration date.
- Check the box that confirms what the token allows, and click Generate SCIM Token.
- Copy the token. The dashboard shows it once.
- Copy the Tenant URL from SCIM Endpoint Configuration.
- In your identity provider's SCIM settings for the Swarmix app, enter the Tenant URL and the token.
- Assign the Swarmix app to the people and groups that should be members.
To check a token before you set up your identity provider, paste it under Test Connection and click Test.
For the endpoints, the attributes Swarmix Core reads and its limits, see SCIM API.
What your identity provider does
- It creates accounts and organization memberships for the people you assign. They join as members.
- It updates their profile. Swarmix Core can place people in your organization's units from their profile attributes, as described in People's profiles.
- It deactivates or removes people you unassign (next section).
- It sends its groups. Each group's people become members of the organization. You can build rule groups on them with the identity provider group condition, as described in Members.
A group doesn't make its people admins and doesn't add them to projects. Give those roles in Members.
To link people who already have a Swarmix account, your organization needs a verified email domain. Swarmix sets up verified domains on request, as described in Single sign-on.
Choose what happens when someone leaves
Under Deprovisioning Behavior, choose one, check the confirmation box and click Save Strategy:
- Deactivate (soft-delete): suspends the person's membership and ends their sessions. If your identity provider assigns them again, Swarmix restores the membership.
- Full removal (hard-delete): removes the person's organization membership, project memberships and groups, and ends their sessions. If your identity provider assigns them again, they start with no memberships.
Full removal can't be undone.
Swarmix Core refuses a removal that would leave the organization or a project without an admin. Make another person admin, and your identity provider retries.
Manage tokens
The dashboard lists each token with its expiry and when your identity provider last used it, and warns about tokens that expire within 7 days or that your identity provider hasn't used yet. Click Revoke to stop a token at once. Revoking stops new changes from your identity provider and leaves existing members as they are.
Best practices
- Start with Deactivate. A person removed by mistake gets their memberships back when your identity provider assigns them again.
- Set an expiration date on each token, and create the next token before the current one expires.
- Use one token per identity provider environment, such as production and staging, with a label that says which.
FAQ
Groups from your identity provider make people members only. Make a member admin in Members.
Your identity provider can link an existing account only through a verified email domain, or when the account belongs to your organization only. Ask Swarmix to verify your domain.
The person is the last admin of the organization or of a project. Make another person admin, and the next sync completes the removal.