Skip to content

Return from the SAML identity provider

POST
/api/auth/saml/{slug}/acs
curl --request POST \
--url https://forge.example.com/api/auth/saml/example/acs \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data SAMLResponse=example \
--data RelayState=example

The reply (assertion consumer service) address, where the identity provider posts its signed answer. Only an answer to a request this browser started is taken. Not a call for scripts.

slug
required
string
Media typeapplication/x-www-form-urlencoded
object
SAMLResponse
string
RelayState
string

Example generated

SAMLResponse=example&RelayState=example

Redirects the browser.

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}