O Auth Authorise Consent Submit
Approve or deny a pending OAuth authorisation code request for the currently signed-in account. On approval this creates a short-lived authorisation code and returns the client redirect URI containing `code` and optional `state`. On denial the returned redirect URI contains `error=access_denied`. Storyden recomputes the granted scope at approval time from current account permissions and client policy.
Approve or deny a pending OAuth authorisation code request for the currently signed-in account.
On approval this creates a short-lived authorisation code and returns
the client redirect URI containing code and optional state. On
denial the returned redirect URI contains error=access_denied.
Storyden recomputes the granted scope at approval time from current account permissions and client policy.
/oauth/authorize/consentAuthorization
browser In: cookie
Request Body
application/json
"approve" | "deny"Response Body
application/json
application/json
application/json
curl -X POST "https://loading/api/oauth/authorize/consent" \ -H "Content-Type: application/json" \ -d '{ "request_id": "string", "decision": "approve" }'{
"status": "approved",
"location": "http://example.com"
}{
"error": "string",
"error_description": "string"
}{
"error": "string",
"message": "string",
"suggested": "string",
"metadata": {}
}O Auth Authorise Consent GET
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.
O Auth Client Create POST
Create an OAuth client owned by the authenticated account. Member-created clients are third-party explicit-scope clients. The requested allowed scopes must be a subset of the authenticated account's current permissions.