Rekamedika Docs
OAuth2 OIDC

POST /oauth2/consent

POST
/api/auth/oauth2/consent

Handle OAuth2 consent. Supports both URL parameter-based flows (consent_code in body) and cookie-based flows (signed cookie).

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

accept*boolean
consent_code?string|null

Response Body

application/json

curl -X POST "https://example.com/api/auth/oauth2/consent" \  -H "Content-Type: application/json" \  -d '{    "accept": true  }'
{  "redirectURI": "http://example.com"}

Is this page helpful?