Ethiack Docs
Organizations

Start a federated-login configuration test (owner)

POST
/v1/organizations/{organization_id}/sso/test

Hand back a real login ceremony to run against the customer's own IdP.

The safety net under PUT .../sso/policy: every interlock there proves the configuration is coherent, and none of them proves the customer's IdP answers. An owner who turns on require_sso against a connection that does not work locks out an organization whose members hold no password.

Answers 400 for a connection no admin has pointed anywhere, and 503 when this deployment configured no return URLs.

AuthorizationBearer <token>

An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.

In: header

Path Parameters

organization_id*integer

Response Body

application/json

application/json

curl -X POST "https://api.ethiack.com/v1/organizations/0/sso/test"
{
  "step": "redirect",
  "auth_url": "string",
  "form_url": "string",
  "form_fields": {
    "property1": "string",
    "property2": "string"
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}