API reference
POSTRequires Bearer token
Create an identity provider
/api/logs-audit/security/idps
Submit /api/logs-audit/security/idps. Authenticated routes need Authorization: Bearer {token} from POST /api/v1/login.
Path parameters
This endpoint has no path parameters.
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
name Required | string | Display name. e.g. "Corporate IdP" |
protocol Required | string | saml or oidc.e.g. "oidc" |
domain | string | Email domain. e.g. "acme.test" |
metadata_url | string | SAML metadata or OIDC discovery URL. |
client_id | string | OIDC client id. |
client_secret | string | OIDC client secret (write-only). |
Responses
| Status | Meaning |
|---|---|
| 201 | IdP created |
| 401 | Missing or invalid Bearer token. |