Skip to content

docs: add session revokers design (#292) - #295

Merged
jaspermayone merged 2 commits into
mainfrom
jaspermayone/292-session-revokers-design
Nov 17, 2026
Merged

jaspermayone merged 2 commits into
mainfrom
jaspermayone/292-session-revokers-design

Conversation

@jaspermayone

Copy link
Copy Markdown
Member

Adds the design doc for session revokers (#292). When a user loses access to an app, Weave tells that app to end its own session.

Contents

  • Problem: Losing access revokes the Weave tokens, but the app's own session cookie stays valid.
  • Decisions:
    • Each app picks an adapter: OIDC Back-Channel Logout or a signed webhook.
    • An app_sign_ins record decides which apps Weave calls.
    • Events trigger the check, and a sweep catches the rest.
    • Only a superadmin can configure a revoker.
  • Also in the doc: alternatives, CUJs and a file-level implementation plan.
sequenceDiagram
  participant T as Trigger
  participant W as Weave
  participant A as App
  T->>W: user loses access
  W->>W: revoke tokens, find open app_sign_ins
  W->>A: logout call (adapter)
  A-->>W: 2xx
  Note over A: app ends its own session
Loading

Review state

The doc's status is "In Review". On 2026-11-16 an EGM review and an adversarial review both rated the design not ready. The doc lists the open findings under "Review status", for example:

  • account deletion sends no call;
  • the discovery override is not defined;
  • the webhook secret lifecycle is not defined;
  • the plan has no phases.

A simpler variant is still to be decided. This PR records the design. It does not approve it.

This PR changes docs only. It has no code changes.

@jaspermayone
jaspermayone requested a review from a team November 17, 2026 01:59
@jaspermayone
jaspermayone merged commit efeb700 into main Nov 17, 2026
9 checks passed
@jaspermayone
jaspermayone deleted the jaspermayone/292-session-revokers-design branch November 17, 2026 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant