Set up federated login from your own IdP (owner)
Mint the owner's own IdP template in one call -- no admin, no slug to pick.
First-time setup only -- an organization already pointed at a template is refused (409); changing a live one is PUT .../sso/idp/self.
For SAML the response is part of the deliverable -- the ACS, metadata, certificate and SLO URLs unique to this template, which the customer configures their IdP against.
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
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/idp/self" \ -H "Content-Type: application/json" \ -d '{ "protocol": "oidc", "name": "string", "issuer": "string", "client_id": "string", "client_secret": "string", "scopes": [ "string" ] }'{
"zitadel_idp_id": "string",
"protocol": "oidc",
"acs_url": "string",
"sp_metadata_url": "string",
"certificate_url": "string",
"slo_url": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}