Skip to content
Sign in Create account

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_verified boolean required

    Defaults 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: false
  • enabled boolean
  • idp_entity_id string or null
  • idp_sso_url string (uri) or null
  • last_login_at string (date-time) or null
  • oidc_client_id string or null
  • oidc_discovery_url string (uri) or null
  • oidc_redirect_uri string (uri) or null
  • oidc_secret_set boolean
  • protocol string
    One of: "saml", "oidc"
  • scim_enabled boolean
  • sso_configured boolean 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-After string header

    Seconds to wait before retrying, when provided.

  • X-RateLimit-Scope string header

    Identifies the scope of the request limit, when provided.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string