Validate the bound SP-initiated SAML form response and establish the mapped session.
Applies to v0.9.0. Follow the workflow guide and the API overview. Use the configured customer server origin, not the proposed documentation hostname.
POST /api/v1/auth/saml/callback/{provider_id}
Protocol/initial-setup state and browser binding apply. This route is not a general authorization bypass.
Declared parameters
| Name | Location | Required | Schema |
|---|---|---|---|
| provider_id | path | True | {"type": "string", "title": "Provider Id"} |
The SAML callback uses the protocol form POST rather than ordinary JSON. Do not invoke it as an arbitrary authenticated command.
Declared responses
| HTTP status | Meaning/contract |
|---|---|
| 303 | Successful Response Inline contract |
| 400 | Bad Request ErrorResponse |
| 401 | Unauthorized ErrorResponse |
| 403 | Forbidden ErrorResponse |
| 409 | Conflict ErrorResponse |
| 422 | Validation Error HTTPValidationError |
Read error.code, message and correlation_id on failure. Check errors and limits. Never convert a rejected request into an empty permission result.
Side effects and evidence
Validate the bound SP-initiated SAML form response and establish the mapped session. Responses and availability depend on current policy/state. POST alone does not mean an infrastructure mutation: read queries, test operations, proposals and local administration remain distinct from the exact change-execution endpoint.
Product baseline v0.9.0 · State schema 8 · Content reviewed 2026-11-06. This website rendering preserves the source packet's qualifiers, compatibility boundaries and acceptance status.

