Skip to content

Feature request: implement API access token management #3

Description

@Kingvic300

Description

frontend/src/features/ProfilePage.tsx lists an "API access tokens" account link that only shows a toast:

const ACCOUNT_LINKS = [
    ...
    { id: 'tokens', icon: Key, label: 'API access tokens', toast: 'Token management not implemented' },
    ...
] as const;

There is no concept of API tokens (as distinct from login JWTs) anywhere in the backend — no model, no issuance/revocation endpoints.

Verified

Confirmed via direct read of frontend/src/features/ProfilePage.tsx lines 33-37 and the ACCOUNT_LINKS.map render block (~line 555).

Suggested fix

If programmatic/API access is a real product goal (relevant given the CLI already exists and currently needs a full login JWT — see Txio-labs/txio#29), add a proper API-token model (separate from session JWTs, scoped, revocable) with issue/list/revoke endpoints, then wire this link up.

Note

One of several account-link stubs on this page (Billing, API tokens, Notifications), filed separately since each represents a distinct feature area.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions