OAuth

Browser consent decision

Session-cookie endpoint the connect page calls after sign-in. Requires a same-origin Origin (CSRF). JSON body {txn, decision} where decision is allow or deny. Returns {redirect} for the browser to follow. This is not a redirect response and not a token endpoint. Requires the duan_session cookie. An API key or OAuth access token does not replace it.

post/api/oauth/consent

Request

  • Base URL: https://xn--s7y.xn--3ds443g
  • URL: https://xn--s7y.xn--3ds443g/api/oauth/consent
  • Auth: API key in cookie duan_session

Request body

txnstring required
decision'allow' | 'deny' required

Response

Browser navigation target

redirectstring required

Changes

No recorded changes to this operation across all 1 revision of this API.