SSO sign-in required

Moses SkodaEngineer1 min read

The API answers 403 Forbidden with this problem. Its type is https://lingo.dev/docs/api/errors/sso-sign-in-required. See Errors and status codes for the shape every error shares.

A session without the organization's identity provider at organization <organizationId>. Sign in with SSO, then turn enforcement on.

Fields#

Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.

FieldType
organizationIdstring

Example#

json
{
  "detail": "A session without the organization's identity provider at organization <organizationId>. Sign in with SSO, then turn enforcement on.",
  "organizationId": "<organizationId>",
  "type": "https://lingo.dev/docs/api/errors/sso-sign-in-required",
  "status": 403,
  "title": "SSO sign-in required"
}

Returned by#

  • PATCH /v2/organizations/{orgId}/sso