Get Consent Context
GET /oauth/consentWhat 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.
Parameters
Section titled “Parameters”| Name | In | Type | Notes | |
|---|---|---|---|---|
client_id | query | string | null | optional | — |
redirect_uri | query | string | null | optional | — |
code_challenge | query | string | null | optional | — |
response_type | query | string | optional | Default "code". |
code_challenge_method | query | string | optional | Default "S256". |
scope | query | string | null | optional | — |
state | query | string | null | optional | — |
resource | query | string | null | optional | — |
Responses
Section titled “Responses”| Status | Description | Body |
|---|---|---|
200 | Successful Response | — |
422 | Validation Error | HTTPValidationError |
Example
Section titled “Example”curl -X GET https://your-deployment.example.com/oauth/consent \ -H "Authorization: Bearer $COBRE_TOKEN"