Storyden
Auth

O Auth Authorise Consent

Read a pending OAuth authorisation code request for a signed-in user before they approve or deny consent in the frontend. This is a Storyden frontend/API integration endpoint, not an OAuth protocol endpoint. It returns the client, redirect URI, requested scopes, and currently grantable scopes so the frontend can render a consent screen.

Read a pending OAuth authorisation code request for a signed-in user before they approve or deny consent in the frontend.

This is a Storyden frontend/API integration endpoint, not an OAuth protocol endpoint. It returns the client, redirect URI, requested scopes, and currently grantable scopes so the frontend can render a consent screen.

GET/oauth/authorize/consent
storyden-session<token>

In: cookie

Query Parameters

request_id?string

OAuth authorisation request identifier.

Response Body

application/json

application/json

application/json

curl -X GET "https://loading/api/oauth/authorize/consent"
{
  "request_id": "string",
  "client_id": "string",
  "client_name": "string",
  "redirect_uri": "http://example.com",
  "expires_at": "2019-08-24T14:15:22Z",
  "requested_scopes": [
    "string"
  ],
  "granted_scopes": [
    "string"
  ],
  "inherits_user_permissions": true
}
{
  "error": "string",
  "error_description": "string"
}
Empty
{
  "error": "string",
  "message": "string",
  "suggested": "string",
  "metadata": {}
}