Assertion Consumer Service
POST
/saml/{tenant}/acs
const url = 'https://auth.timetonic.com/api/saml/example/acs';const options = { method: 'POST', headers: {'Content-Type': 'application/x-www-form-urlencoded'}, body: new URLSearchParams({SAMLResponse: 'example', RelayState: 'example'})};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://auth.timetonic.com/api/saml/example/acs \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data SAMLResponse=example \ --data RelayState=exampleSAML ACS endpoint (receives IdP response)
Parameters
Section intitulée « Parameters »Path Parameters
Section intitulée « Path Parameters »tenant
required
string
SAML tenant identifier
Request Body
Section intitulée « Request Body »Media typeapplication/x-www-form-urlencoded
object
SAMLResponse
string
RelayState
string
Examplegenerated
SAMLResponse=example&RelayState=exampleResponses
Section intitulée « Responses »Redirect with session
Bad request
Media typeapplication/json
object
success
boolean
error
string
message
string
Example
{ "success": false, "error": "bad_request", "message": "Invalid request"}Resource not found
Media typeapplication/json
object
success
boolean
error
string
message
string
Example
{ "success": false, "error": "not_found", "message": "Resource not found"}