identity

Approve or deny a resource grant on the hosted sign-in page

Changed on

Requires the Identity origin, the browser hub cookie, a signed pending authorization request, and its selected identity. The decision spends the request in one conditioned write that records it, then redirects with code or access_denied, state and issuer; an approval the account cannot be read for redirects with server_error and spends the request too. The same decision for the same identity, submitted again while the request lives (a double click on the page), is answered with the same redirect once the code it carries is issued, and issues nothing more; any other decision of a decided request is refused. Resource grants always require an explicit decision, including after SSO. The page is a native form, so every refusal is a page in the browser window, never a JSON error.

post/products/identity/{account_id}/consent

Request

Path parameters

account_idstring required

The issuer account.

Request body application/x-www-form-urlencoded

auth_requeststring required
svidstring required
decision'approve' | 'deny' required

Changes

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • info

      added the media type text/html for the response with the status

    • info

      added the media type text/html for the response with the status

    • info

      added the non-success response with the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status