Skip to main content

For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/auth/oauth-consent.md.

Record a consent decision

POST 

/oauth/consent

The signed-in user's answer to the consent screen. Approving records the grant and mints an authorization code; denying returns the client to its redirect with error=access_denied.

The authorize parameters are repeated here and validated again, because nothing but the user's browser carries them between the two requests.

Returns where the browser should go rather than redirecting, since the consent screen issues this as a fetch.

Request​

Responses​

Decision recorded