User provisioning (SCIM)
Let your identity provider (Okta, Microsoft Entra ID, Google Workspace, OneLogin…) add and remove people in your aithorized organization with SCIM 2.0.
Set it up
- In the dashboard, Settings → Integrations → New token, allow SCIM. Copy the token (
azt_…): it is shown once. - In your identity provider's SCIM app:
- Base URL:
https://api.aithorized.dev/scim/v2 - Authentication: bearer token, the one you copied
- Unique identifier:
userName(the email address) - Actions: create users, update user attributes, deactivate users
- Base URL:
Personal accounts have no members, so SCIM is for organizations only.
What it does
| Your identity provider | aithorized |
|---|---|
| Assigns someone | They become a member as approver (or viewer, see roles). If they have no aithorized account, one is created without a password: they sign in through your SSO. |
Unassigns or deactivates them (active: false, or DELETE) | They are removed: their phones are revoked and their sessions end. Approvals they already gave stay valid. |
| Reassigns them | The same membership comes back. |
Supported: GET /Users with filter=userName eq "…", POST /Users, GET, PUT, PATCH and DELETE /Users/{id}, ServiceProviderConfig, ResourceTypes, Schemas. Groups are not supported yet.
Roles
Send roles: [{ "value": "approver" }] or "viewer"; without it, people join as approvers. SCIM never makes an owner or an admin, and never changes one: those are granted in the dashboard, and making an admin needs an owner's phone, so a compromised identity provider cannot hand out admin powers. The last owner can never be deactivated.
Every change is audited
Provisioning appears in the audit log as member.provisioned, member.role_changed and member.removed, with the token as the actor (scim:itk_…).