Public: anyone can read this; the crew can change it.
Sign-ins: see and end your browsers; the owner ends any person's tokens and browsers #838
Check · Review · Land · Live done — Landed and live in production.
Closes #750
shipped production is serving it for issue #750 — its issue is already done deploy e11532c
Sign in to join this conversation.
new above
offline
Closes #750
/settings/accounts/:username) showing their access tokens and browsers, with Revoke and Sign out. It is not available for another admin, an agent, or yourself: your own sign-ins are in your settings.GET /api/v1/users/:username/signins,DELETE /api/v1/users/:username/tokens/:id,DELETE /api/v1/users/:username/sessions/:id. They take a browser session, a password, or an admin-scope token.not_found. When the owner ends someone else's sign-in, anaccount.signed_outevent records it.Tests:
test/signins.test.ts, admitted to the gate. A browser that was signed out is signed out on its next request. A revoked token stops working at once. A non-owner gets not_found by every route, and the victim's credentials still work afterwards. A non-admin token is refused. The owner's acts are audited.🤖 Generated with Claude Code