Skip to content

Get Consent Context

GET /oauth/consent

What the consent screen renders: who is asking, for what, and which anchors this person may hand over. Reading it grants nothing — approving is a separate call.

The parameters are optional-then-required for the reason authorize gives.

NameInTypeNotes
client_idquerystring | nulloptional—
redirect_uriquerystring | nulloptional—
code_challengequerystring | nulloptional—
response_typequerystringoptionalDefault "code".
code_challenge_methodquerystringoptionalDefault "S256".
scopequerystring | nulloptional—
statequerystring | nulloptional—
resourcequerystring | nulloptional—
StatusDescriptionBody
200Successful Response—
422Validation ErrorHTTPValidationError
Terminal window
curl -X GET https://your-deployment.example.com/oauth/consent \
-H "Authorization: Bearer $COBRE_TOKEN"