Get SSO configuration for tenant
GET /api/sso/config
Returns the authenticated tenant administrator's SSO configuration metadata. The response reports whether an OIDC client secret is set but never returns the secret value. OIDC ID tokens require the Boolean email_verified=true claim unless this caller-scoped setting is enabled; it never permits a present false or non-boolean claim. When an ID token omits email_verified and this exception is enabled, its issuer and subject are bound to the first account; an unbound subject cannot use an existing email, and later email changes for a bound subject are rejected. Tokens with Boolean email_verified=true keep the verified-email path for first account linking; later logins remain bound to that issuer and subject.
Authenticate with a portal session token.
Responses
200 SSO metadata; OIDC client secret is never returned.
application/json object
accept_signins_without_email_verifiedboolean requiredDefaults to false. When true, only an absent email_verified claim is accepted; a present false or non-boolean value is always rejected. For tokens with a missing claim, issuer and subject are bound to the first account; an unbound subject cannot use an existing email, and later email changes for a bound subject are rejected. Tokens with Boolean email_verified=true keep the verified-email path for first account linking; later logins remain bound to that issuer and subject. Microsoft Entra ID usually omits this claim, so enable the exception only if the provider confirms it verifies email addresses.
Default:falseenabledbooleanidp_entity_idstring or nullidp_sso_urlstring (uri) or nulllast_login_atstring (date-time) or nulloidc_client_idstring or nulloidc_discovery_urlstring (uri) or nulloidc_redirect_uristring (uri) or nulloidc_secret_setbooleanprotocolstringOne of:"saml","oidc"scim_enabledbooleansso_configuredboolean required
Generated sample
{
"accept_signins_without_email_verified": false,
"enabled": true,
"idp_entity_id": "string",
"idp_sso_url": "https://example.com",
"last_login_at": "2026-01-01T00:00:00Z",
"oidc_client_id": "string",
"oidc_discovery_url": "https://example.com",
"oidc_redirect_uri": "https://example.com",
"oidc_secret_set": true,
"protocol": "saml",
"scim_enabled": true,
"sso_configured": true
}401 Missing or invalid bearer token.
application/json object
Any keys are accepted.
403 Authenticated caller lacks the required permission, ability, or role.
application/json object
Any keys are accepted.
429 The request was rate limited. API-generated responses are JSON;
Response headers
Retry-Afterstring headerSeconds to wait before retrying, when provided.
X-RateLimit-Scopestring headerIdentifies the scope of the request limit, when provided.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string