Update the SSO configuration for an organization
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /admin/v1/organizations/{org_slug}/sso-config
- Auth: HTTP bearer
Path parameters
Organization slug
Request body
Update allowed email domains
Update OAuth2 client ID
Update OAuth2 client secret (will be stored in secret manager)
Update create users flag
Update default org role
Update default team (set to null to remove)
Update default team role
Update discovery URL (set to null to use default)
Update enabled flag
SSO enforcement mode.
Update groups claim (set to null to remove)
Update identity claim
Update OIDC issuer URL
Update org claim (set to null to remove)
SSO provider type.
Update provisioning enabled flag
Update redirect URI (set to null to use global default)
Update authentication context class (set to null to remove)
Update SAML email attribute (set to null to remove)
Update force re-authentication flag
Update SAML groups attribute (set to null to remove)
Update SAML identity attribute (set to null to remove)
Update IdP certificate (set to null to remove)
Update IdP entity identifier (set to null to remove)
Update IdP SLO URL (set to null to remove)
Update IdP SSO URL (set to null to remove)
Update IdP metadata URL (set to null to remove)
Update SAML name attribute (set to null to remove)
Update NameID format (set to null to remove)
Update sign requests flag
Update SP certificate (set to null to remove)
Update SP entity ID (set to null to remove)
Update SP private key (will be stored in secret manager)
Update OAuth2 scopes
Update sync attributes on login flag
Update sync memberships on login flag
Response
SSO config updated
Allowed email domains (empty = allow all)
OAuth2 client ID (required for OIDC, not used for SAML)
Whether to create new users on first login
When this config was created
Default role for new users in the organization
Default team to add new users to (optional)
Default role for new users in the default team
Discovery URL for OIDC metadata (defaults to issuer/.well-known/openid-configuration)
Whether this SSO config is active
SSO enforcement mode.
JWT claim containing group memberships (optional, OIDC only)
Unique identifier for this SSO configuration
JWT claim to use as the user's identity (default: "sub") Required for OIDC, not used for SAML (use saml_identity_attribute instead)
OIDC issuer URL (e.g., "https://accounts.google.com") Required for OIDC, not used for SAML
JWT claim containing organization IDs (optional, OIDC only)
Organization this SSO config belongs to (one config per org)
SSO provider type.
Whether JIT provisioning is enabled for this SSO config
Redirect URI for OAuth2 callback (optional - uses global default if not set)
Requested authentication context class
SAML attribute name for email
Whether to force re-authentication at IdP
SAML attribute name for groups
SAML attribute name for user identity (like identity_claim for OIDC)
IdP X.509 certificate for signature validation (PEM format)
IdP entity identifier (e.g., "https://idp.example.com/metadata")
IdP Single Logout service URL (optional)
IdP Single Sign-On service URL (HTTP-Redirect or HTTP-POST binding)
IdP metadata URL for auto-configuration (alternative to manual config)
SAML attribute name for display name
NameID format to request (e.g., 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress')
Whether to sign AuthnRequests
SP X.509 certificate for SP metadata (PEM format) Include when request signing is enabled so IdPs can verify signatures
Service Provider entity ID (Hadrian's identifier to the IdP)
OAuth2 scopes to request (e.g., ["openid", "email", "profile"]) Empty for SAML configs
Whether to sync user attributes (email, name) on each login
Whether to sync team memberships from IdP groups on each login
When this config was last updated
Changes
No recorded changes to this operation across all 1 revision of this API.