SCIM provisioning

Make a SCIM token and let your identity provider add people to the workspace as Members and remove them when they leave.

Laze speaks SCIM 2.0, so your identity provider's directory adds people to the workspace and removes them when they leave. It works next to single sign-on: SCIM decides who is a member, single sign-on decides how they sign in.

Make a token

Owners and Admins make SCIM tokens with the CLI:

laze scim create-token Directory
laze scim tokens
laze scim revoke-token <id>

laze scim create-token prints the token once, with the SCIM base URL to paste into your identity provider. Laze keeps only a hash of it. With --to-vault <name> the token goes into your personal vault instead and is never printed. A revoked token is refused at the next request.

An agent's key cannot make, list or revoke tokens, and Laze staff in a support visit cannot make one.

What the directory does

The base URL ends in /api/scim/v2. Laze serves users only:

RequestEffect
POST /UsersAdds the person to the workspace as a Member
GET /Users, GET /Users/<id>Lists or reads people
PUT or PATCH /Users/<id>Updates a person; active: false removes them from the workspace
DELETE /Users/<id>Removes the person from the workspace
GET /ServiceProviderConfigSays what Laze supports

Requests authenticate with the token as a bearer. A request without a valid token gets a SCIM 401 document. Adding an address that is already a member is a uniqueness error. Lists filter only on userName eq "<address>" and return at most 100 people. Groups, bulk requests and sorting are not supported, so roles stay as set in Settings, Members.

What is recorded

Making and revoking a token, and every create, replace, update and delete from the directory, are entries in the workspace audit log.

Also check: People and roles.