OAuth grant registry: list and revoke an account's sessions #435

Open
opened 2026-11-18 06:37:11 +00:00 by jcoffey-dev · 0 comments
Owner

Part of inbuxa for Kubernetes, after 27.1 (tracking: inbuxa-charts#14).

Server OAuth tokens are sealed, not stored, so nothing can list an account's sessions or revoke one selectively; revocation is per credential (password change signs out everywhere). On Kubernetes the webmail runs with stateless cookie sessions and hides its sessions list for that reason (webmail #103).

Add a grant record per refresh-token chain (grant id carried in the tokens), so the server can list an account's grants (client, created, last used, IP/UA where known) and revoke one or all. Then:

  • The webmail's sessions list and 'sign out other sessions' work again in cookie mode.
  • The console gets a sessions view per account.
  • K-S4's denylist can become a revoked-grant check.

Done when

  • JMAP object to list and destroy grants, with permissions for self and admins
  • Validation rejects tokens of a revoked grant on every node
  • Webmail cookie mode shows the sessions list again
Part of inbuxa for Kubernetes, after 27.1 (tracking: inbuxa-charts#14). Server OAuth tokens are sealed, not stored, so nothing can list an account's sessions or revoke one selectively; revocation is per credential (password change signs out everywhere). On Kubernetes the webmail runs with stateless cookie sessions and hides its sessions list for that reason (webmail #103). Add a grant record per refresh-token chain (grant id carried in the tokens), so the server can list an account's grants (client, created, last used, IP/UA where known) and revoke one or all. Then: - The webmail's sessions list and 'sign out other sessions' work again in cookie mode. - The console gets a sessions view per account. - K-S4's denylist can become a revoked-grant check. **Done when** - JMAP object to list and destroy grants, with permissions for self and admins - Validation rejects tokens of a revoked grant on every node - Webmail cookie mode shows the sessions list again
jcoffey-dev added this to the 27.7 milestone 2026-11-18 06:37:11 +00:00
jcoffey-dev added the enhancement label 2026-11-18 06:37:11 +00:00
jcoffey-dev self-assigned this 2026-11-18 06:47:12 +00:00
jcoffey-dev added the
priority
p3
label 2026-11-18 07:16:14 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: inbuxa/inbuxa-server#435