Ethiack Docs
Organizations

Read the verdict of a configuration test (owner)

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

Redeem the ceremony's intent and report what a member's login would hit.

Authenticates nobody -- no session, no account, no IdP link. Writes one thing, and only on a pass: verified_at / verified_template_id, which is what require_sso is gated on. An intent naming a template other than this connection's is refused rather than reported, so a redeemable intent obtained elsewhere cannot make a broken connection look tested.

AuthorizationBearer <token>

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

In: header

Path Parameters

organization_id*integer

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://api.ethiack.com/v1/organizations/0/sso/test/result" \  -H "Content-Type: application/json" \  -d '{    "intent_id": "string",    "intent_token": "string"  }'
{
  "passed": true,
  "outcome": "passed",
  "template_id": "string",
  "expected_issuer": "string",
  "asserted_issuer": "string",
  "asserted_email": "string",
  "tester_link": "linked"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}