Docs / Running yasp

User provisioning (SCIM 2.0)

Your identity provider can create, update and remove yasp dashboard users and push its groups, so access follows your directory.

  • Base URL: https://<your yasp>/scim/v2
  • Authentication: HTTP header, bearer token: an admin API token (Dashboard → API → New token, role Admin, expiry "Never" or a reminder to rotate)
  • Supports: Users and Groups (create, read, replace, PATCH, delete), filter=userName eq "…", externalId eq "…" and displayName eq "…", paging. No bulk, sorting or ETags.

# What it does

In your IdPIn yasp
Assign a user to the appA user appears on the Users screen, tagged SCIM. They sign in with OIDC as usual; the first sign-in claims the account by verified email
Change name or emailUpdated
Deactivate, or unassign (if your IdP sends active: false)Disabled and signed out everywhere
DeleteRemoved, with their sessions
Push a groupMembers get it in their groups, alongside the groups claim from sign-in

Pushed groups count everywhere groups do:

  • Roles: oidc.role_map in yasp.toml maps group names to admin, editor or viewer. A user in a pushed group gets that role at their next sign-in.
  • Private pages: a page's allowed groups (Status pages → a page → Who can see it) let members of those groups in.

Every SCIM change is in the audit log with the token's name.

# Setting it up

# Okta

Applications → your yasp app → General → enable SCIM provisioning. Provisioning: SCIM base URL as above, unique identifier userName, push new users, push profile updates, push groups; authentication mode HTTP Header, the admin token. Enable Create users, Update user attributes and Deactivate users.

# Microsoft Entra ID

Enterprise applications → your yasp app → Provisioning → Automatic. Tenant URL: the SCIM base URL; secret token: the admin token. Test the connection, keep the default attribute mappings (userPrincipalName → userName, Switch([IsSoftDeleted]…) → active), and start provisioning.

# Google Workspace, Authentik, Keycloak, JumpCloud, OneLogin

Use their generic SCIM 2.0 connector with the base URL and bearer token above, userName as the unique attribute, and group push on.

# Notes

  • Users are matched to OIDC sign-ins by email, which the IdP must mark verified. Use the same IdP for SCIM and sign-in.
  • A role granted in the dashboard ("Granted here") is kept regardless of SCIM.
  • Rotating the token: create a new admin token, update the IdP, then revoke the old one.