Skip to content

Receive a SAML provider's sign-in answer

POST
/api/v1/auth/saml/{providerId}/acs
curl --request POST \
--url https://gpu-kitchen.example.lan/api/v1/auth/saml/1/acs \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data SAMLResponse=example \
--data RelayState=example
providerId
required
integer
> 0 <= 2147483647
Media typeapplication/x-www-form-urlencoded
object
SAMLResponse
required
string
RelayState
string
Examplegenerated
SAMLResponse=example&RelayState=example

Back to the sign-in page: /login?error=<code> on a refusal, the requested page otherwise.

Error codes: provider_not_found.

Media typeapplication/json
object
error
required
object
code
required

Stable snake_case code to branch on.

string
message
required

A sentence to show a person.

string
details

Optional structured context.

fix

Optional place where the problem is fixed.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": "example",
"fix": "example"
}
}

Error codes: payload_too_large.

Media typeapplication/json
object
error
required
object
code
required

Stable snake_case code to branch on.

string
message
required

A sentence to show a person.

string
details

Optional structured context.

fix

Optional place where the problem is fixed.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": "example",
"fix": "example"
}
}

Error codes: rate_limited.

Media typeapplication/json
object
error
required
object
code
required

Stable snake_case code to branch on.

string
message
required

A sentence to show a person.

string
details

Optional structured context.

fix

Optional place where the problem is fixed.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": "example",
"fix": "example"
}
}