Storyden
Auth

O Auth Refresh Token List

List OAuth refresh tokens issued to the authenticated account. This is the member-facing "authorised applications" view: it lists apps the signed-in account has authorised and can revoke. In OAuth terms, these rows are grants/tokens, not application definitions. This may include grants for built-in first-party clients such as the default Storyden CLI. Those clients are not created by the member and therefore do not appear in the member OAuth client list.

GET
/auth/oauth/tokens

List OAuth refresh tokens issued to the authenticated account.

This is the member-facing "authorised applications" view: it lists apps the signed-in account has authorised and can revoke. In OAuth terms, these rows are grants/tokens, not application definitions.

This may include grants for built-in first-party clients such as the default Storyden CLI. Those clients are not created by the member and therefore do not appear in the member OAuth client list.

Authorization

browser
cookiestoryden-session<token>

Query Parameters

page?string

Pagination query parameters.

Response Body

OAuth refresh tokens.

application/json
  1. response

To be composed with paginated resource responses.

page_size*integer
results*integer
total_pages*integer
current_page*integer
next_page?integer
tokens*array<>
Example Request
curl -X GET 'https://example.com/api/auth/oauth/tokens'
Example Response
{  "page_size": 0,  "results": 0,  "total_pages": 0,  "current_page": 0,  "next_page": 0,  "tokens": [    {      "id": "string",      "createdAt": "2019-08-24T14:15:22Z",      "oauth_client_id": "string",      "client_id": "string",      "client_name": "string",      "account_id": "string",      "scope": "string",      "expires_at": "2019-08-24T14:15:22Z",      "revoked_at": "2019-08-24T14:15:22Z",      "replaced_by_token_id": "string",      "last_used_at": "2019-08-24T14:15:22Z"    }  ]}