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. Accepts either a browser session or a personal access key.
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. Accepts either a browser session or a personal access key.
storyden-session<token>application/json- body
request_id*stringdecision*OAuthAuthoriseDecision"approve""deny"Authorization code consent decision result.
application/json- response
status*string"approved""denied"location*stringuricurl -X POST 'https://example.com/api/oauth/authorize/consent' \ -H 'Content-Type: application/json' \ -d '{ "request_id": "string", "decision": "approve"}'{ "status": "approved", "location": "http://example.com"}O Auth Authorise Consent GET
Read a pending OAuth authorisation code request for a signed-in user before they approve or deny consent. 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 a caller can render a consent screen or, for headless integrations, decide programmatically. Accepts either a browser session or a personal access key.
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.