Accept Device Authorization Grant Consent

POST {{authPath}}/{{envID}}/flows/{{flowID}}

The POST /{{envID}}/flows/{{flowID}} operation uses the application/vnd.pingidentity.deviceAuthGrant.consent+json custom media type in the request header to specify that a consent action is required.

An authentication flow can prompt users to consent to (or reject) an agreement. The flow configuration determines whether consent is required. If the user does not have any recorded consents that satisfy any of the agreement languages, then the flow requires user consent.

Prerequisites

Note: After accepting consent, a record is stored in the user's OAuth Scope Consents. If the user refuses to consent to the terms of service agreement, the flow fails.

PropertyTypeRequired?
acceptBooleanRequired

See the Flows for full property descriptions.

Request Body

{"accept"=>true}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Cookiestring