Admin SSO and provisioning
Configure single sign-on for an organization's admins (the people who edit and publish handbooks), with just-in-time provisioning and role mapping, so you never have to invite admins manually.
PUT /organizations/{orgId}/sso/admin | Access token
{
"protocol": "saml",
"idp": {
"entityId": "https://idp.acme.com/saml/metadata",
"ssoUrl": "https://idp.acme.com/saml/sso",
"certificate": "-----BEGIN CERTIFICATE-----\nMIID…\n-----END CERTIFICATE-----"
},
"jitProvisioning": true,
"roleAttribute": "airmason_role",
"roleMapping": {
"hr-admin": "owner",
"hr-editor": "handbook_editor",
"people-ops": "account_admin"
},
"defaultRole": null,
"enforced": true
}Field | Notes |
|
|
| Your identity provider's metadata. Alternatively pass |
| When |
| Name of the SAML attribute (or OIDC claim) carrying the user's role |
| Your role values → AirMason roles: |
| Role for users whose attribute value has no mapping. |
| When |
The response includes AirMason's side of the handshake — spEntityId, acsUrl and spCertificate — to configure in your IdP. Role changes in your IdP are applied on the user's next sign-in. GET returns the current configuration (certificate redacted); DELETE disables SSO and re-enables password login.
Employee-facing SSO (for the handbook portal) is configured the same way at PUT /organizations/{orgId}/sso/employee.
Partner API documentation: