Sign-out revokes tokens at the server #104

Closed
opened 2026-11-18 05:14:40 +00:00 by jcoffey-dev · 3 comments
Owner

K-W2 · size S · part of inbuxa for Kubernetes (tracking issue in inbuxa-charts)

With stateless sessions a stolen cookie must stop working after sign-out. Call the server's revocation endpoint on sign-out, and keep access tokens short-lived, re-minted from the refresh token.

Done when

  • After sign-out, a copy of the old cookie gets 401
  • Test

Depends on: K-S4, K-W1

**K-W2** · size S · part of inbuxa for Kubernetes (tracking issue in inbuxa-charts) With stateless sessions a stolen cookie must stop working after sign-out. Call the server's revocation endpoint on sign-out, and keep access tokens short-lived, re-minted from the refresh token. **Done when** - After sign-out, a copy of the old cookie gets 401 - Test **Depends on:** K-S4, K-W1
jcoffey-dev added this to the 27.1 milestone 2026-11-18 05:14:40 +00:00
jcoffey-dev added the securityenhancement labels 2026-11-18 05:14:40 +00:00
jcoffey-dev self-assigned this 2026-11-18 06:28:58 +00:00
jcoffey-dev added the
priority
p1
label 2026-11-18 06:28:58 +00:00
Author
Owner

Folded into the checklist on inbuxa/inbuxa-charts#14 to keep the issue list short. The details stay here; reopen this when work on it starts.

Folded into the checklist on inbuxa/inbuxa-charts#14 to keep the issue list short. The details stay here; reopen this when work on it starts.
Author
Owner

Reopened: work started. Implemented on the PR #109 branch (second commit), since it's what makes cookie sessions safe to sign out of. Sign-out and sign-out-all revoke the refresh and access token through the server's revocation_endpoint (inbuxa-server#438). Test server/src/signout-revoke.test.ts in cookie mode: after sign-out a copy of the old cookie gets 401; against a server without revocation, sign-out still works and the copy keeps working (logged).

Reopened: work started. Implemented on the PR #109 branch (second commit), since it's what makes cookie sessions safe to sign out of. Sign-out and sign-out-all revoke the refresh and access token through the server's `revocation_endpoint` (inbuxa-server#438). Test `server/src/signout-revoke.test.ts` in cookie mode: after sign-out a copy of the old cookie gets 401; against a server without revocation, sign-out still works and the copy keeps working (logged).
Author
Owner

Fixed in #109, merged to main; ships in the next 27.1 release candidate.

Fixed in #109, merged to main; ships in the next 27.1 release candidate.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: inbuxa/inbuxa-webmail#104