Federation

Federation lets you map external identity providers (IdPs) to Allternit workspaces and roles. It supports OIDC-compliant issuers and claim-based rules for just-in-time provisioning.

Base URL

Issuer endpoints

Rule endpoints

Add an issuer

Request body

Response

Issuer URLs must use https:// and be ≤ 512 characters.

Add a mapping rule

Request body

Response

Valid roles are owner, admin, and member. Omit workspace_id for organization-level role assignment.

List rules

Response

Update an issuer

Update a rule

claim_name and claim_value must be updated together.

Delete an issuer

Response

Deleting an issuer cascades to its mapping rules.

Error codes