Create Response
Finalize a SAML Request and get the response definition for success or failure. The response must be handled as per the SAML definition to inform the application about the success or failure. On success, the response contains details for the application to obtain the SAMLResponse. This method can only be called once for an SAML request.
Required permissions:
session.link
saml_request_id*saml_request_idID of the SAML Request.
application/json- body
error*Set this field when the authorization flow failed. It creates a response depending on the SP, with the error details set.
Success
application/json- response
details?url?urlURL including the Assertion Consumer Service where the user should be redirected or has to call per POST, depending on the binding. Contains details for the application to obtain the response on success, or error details on failure. Note that this field must be treated as credentials, as the contained SAMLResponse or code can be used on behalve of the user.
post*Set if the binding is POST-Binding, where the application expects to be called per HTTP POST with the SAMLResponse and RelayState in the form body.
curl -X POST 'https://example.com/v2/saml/saml_requests/string' \ -H 'Content-Type: application/json' \ -d '{ "error": {}}'{ "details": { "sequence": 0, "changeDate": "2023-01-15T01:30:15.01Z", "resourceOwner": "string", "creationDate": "2023-01-15T01:30:15.01Z" }, "url": "string", "post": { "relayState": "string", "samlResponse": "string" }}Was this page helpful?
