Hatch

Set up or replace single sign-on for a verified domain. Owners, after entering their password.

On this page

PUT/api/workspaces/{workspace}/sso

Authorization

  • session: Authorization: Bearer <token>. The session token from signing in (or the session cookie in a browser on the same origin).

Path parameters

  • workspace string (required)

Request body

  • domain string: At most 253 characters
  • protocol "oidc" | "saml"
  • issuer string: OIDC: the issuer URL. SAML: the identity provider’s entity id. At most 2000 characters
  • clientId string: At most 500 characters
  • clientSecret string: At most 2000 characters
  • entryPoint string: SAML: the identity provider’s sign-in URL. At most 2000 characters
  • cert string: SAML: the identity provider’s signing certificate, PEM. At most 20000 characters

Response

200: It worked

  • ok true (required)

Other answers:

  • 4XX: Refused, with a message to show the person