Skip to content

Keep MCP clients connected when signing out of Factorize - #437

Merged
asselstine merged 2 commits into
mainfrom
codex/browser-only-sign-out
Nov 24, 2026
Merged

asselstine merged 2 commits into
mainfrom
codex/browser-only-sign-out

Conversation

@asselstine

Copy link
Copy Markdown
Collaborator

Summary

  • Revoke the current browser session on the server and clear its browser cookies on sign-out. Independent browser sessions are unchanged.
  • Leave existing MCP authorizations, refresh grants and webhook subscriptions intact. Password changes and explicit client/connection revocation still work.
  • Add a forward migration for short-lived browser revocations. Existing cookies remain compatible; new sessions have distinct credentials.

Validation

  • 257 API tests and 39 Playwright tests passed, including a real OAuth library access/refresh/revocation flow using local fixtures and PostgreSQL coverage for existing webhook delivery after both sign-out routes.
  • OpenAPI drift and both Worker dry runs passed. The standalone Wrangler runtime could not boot in the local sandbox because it cannot enumerate network interfaces.

@asselstine
asselstine merged commit e8cd238 into main Nov 24, 2026
9 checks passed
@asselstine
asselstine deleted the codex/browser-only-sign-out branch November 24, 2026 22:22
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