Skip to content

fix(desktop): forward Windows OAuth activations and deduplicate handoffs - #102

Draft
Aliferous3 wants to merge 2 commits into
mainfrom
fix/desktop-auth-handoff-activation-20261101
Draft

Aliferous3 wants to merge 2 commits into
mainfrom
fix/desktop-auth-handoff-activation-20261101

Conversation

@Aliferous3

Copy link
Copy Markdown
Owner

Evidence

Production logs on 2026-11-01 08:57:46 UTC show bad_verification_code in GitHub OAuth callback while a separate desktop handoff was issued but remained unredeemed. Neither proves that the native deep-link event was lost.

Proposed scoped change

  • Forward Windows second-instance dev-ledger://auth argv URLs to the frontend via a Tauri event.
  • Listen for that event in addition to onOpenUrl and getCurrent.
  • Prevent concurrent redemption when the same flow is delivered over both paths.

Outstanding verification (do not merge)

  • Windows runtime deep-link end-to-end test with actual app installed and already running.
  • Typecheck, Rust build, automated test suite, and CI verification.
  • Correlate token-exchange failures by callback state/request to determine whether they are duplicate code exchanges.
  • Confirm server redemption logs after a fresh login; avoid recording plaintext codes/tokens.

No installer rebuild or production deployment authorized; retain as draft until verified.

@vercel

vercel Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
dev-ledger Ready Ready Preview Nov 1, 2026 9:32am UTC

This branch was successfully deployed

1 active deployment
Preview — ba53bd52 Deployed Nov 1, 2026 by vercel[bot]
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