OAuth

Approve or decline

The workspace and user come from the session, never from the request body. That is what makes it impossible for a client to obtain a grant on an account other than the one whose owner is looking at the screen.

Approval mints a single-use authorization code and returns the URL for the browser to follow; declining returns the same URL carrying access_denied. A declined request is spent, so re-opening the consent URL cannot resume it.

post/api/oauth/requests/{id}/decision

Request

  • Base URL: https://scanduro.com
  • URL: https://scanduro.com/api/oauth/requests/{id}/decision
  • Auth: sessionCookie (a scheme the document does not define)

Path parameters

idstring required

Request body

decision'approve' | 'deny' required

Response

Where to send the browser.

redirectTostring uri required

Changes

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