Skip to content

GEN-2165: Resume MCP signup after verification and secure device login - #214

Merged
exe-dev-github-integration[bot] merged 3 commits into
mainfrom
fix/gen-2165-mcp-onboarding
Oct 10, 2026
Merged

exe-dev-github-integration[bot] merged 3 commits into
mainfrom
fix/gen-2165-mcp-onboarding

Conversation

@asselstine

Copy link
Copy Markdown
Collaborator

MCP clients starting signup lost their pending request, and email verification sent users back through password sign-in. This persists each validated connection through signup, resend, and recovery, signs in after verification, and resumes explicit Allow/Deny consent. Callback completion stays in the initiating browser; device onboarding can continue in the verification browser. Requests retain their original deadline, state, PKCE, redirect, and workspace authorization, with isolated concurrent attempts and single-use consent.

Device approval now requires a signed owner/session-bound preview. PostgreSQL locks serialize decisions and token polls; early polls return slow_down and increase the interval by five seconds. Code entry, denial/completion, and expired-request guidance are updated, including recovery with a new client code. Authentication docs use email/password terminology.

Validation: repository-wide npm run check with disposable PostgreSQL, the CI static slice against PostgreSQL, and compiled-browser device recovery/denial checks. Backend: 354 passed (8 unrelated skips); browser: 36 passed; visual/accessibility: 41 passed; static slice: 2 passed; additional protocol browser checks: 4 passed. Coverage includes new/existing accounts, verification in another browser, concurrent signup/resend/recovery, expiry/replay/revocation, forged consent, all device polling outcomes, and real Worker OAuth/PKCE token exchange. OpenAPI/client generation, package boundaries, TypeScript, visual/accessibility checks, and Worker dry runs are included.

Deployment prerequisite: apply additive migration 0014_oauth_onboarding.sql before deploying the Worker. The matching Drizzle schema and generated public API contract are included.

Closes GEN-2165.

@linear

linear Bot commented Oct 10, 2026

Copy link
Copy Markdown

GEN-2165

@exe-dev-github-integration
exe-dev-github-integration Bot added this pull request to the merge queue Oct 10, 2026
Merged via the queue into main with commit acaf130 Oct 10, 2026
2 checks passed
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