Skip to content

Submit SAML attribute release consent.

POST
/saml/idp/attribute-release-consent
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/saml/idp/attribute-release-consent \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data saml_request_id=saml_req_123 \
--data saml_sp_entity_id=https://sp.example.com/metadata \
--data challenge_id=challenge_123 \
--data attribute_set_hash=sha256:abcdef \
--data decision=approve

Processes the browser form submitted from the SAML attribute release consent challenge. Approval stores consent and redirects back to the SSO resume URL; denial returns a SAML protocol error response to the Service Provider.

Media type application/x-www-form-urlencoded
object
saml_request_id
required
string
saml_sp_entity_id
required
string
challenge_id
required
string
attribute_set_hash
required
string
decision
required
string
Allowed values: approve deny
Example
saml_request_id=saml_req_123&saml_sp_entity_id=https%3A%2F%2Fsp.example.com%2Fmetadata&challenge_id=challenge_123&attribute_set_hash=sha256%3Aabcdef&decision=approve

Successful HTML response.

Media type text/html
string

Redirect response.

Location
string format: uri

Redirect target URL.