-
Notifications
You must be signed in to change notification settings - Fork 0
Tray ↔ Web Auth + Multi-Machine Sync #115
Copy link
Copy link
Open
Labels
channel/alphaTargets the alpha release channel (early testing)Targets the alpha release channel (early testing)channel/betaTargets the beta release channel (pre-release, opted-in users)Targets the beta release channel (pre-release, opted-in users)channel/liveTargets the live release channel (stable, end-user-facing)Targets the live release channel (stable, end-user-facing)channel/rcTargets the rc (release candidate) channel — final stabilization before liveTargets the rc (release candidate) channel — final stabilization before livesurface/tray-whats-newsurface/web-roadmap
Metadata
Metadata
Assignees
Labels
channel/alphaTargets the alpha release channel (early testing)Targets the alpha release channel (early testing)channel/betaTargets the beta release channel (pre-release, opted-in users)Targets the beta release channel (pre-release, opted-in users)channel/liveTargets the live release channel (stable, end-user-facing)Targets the live release channel (stable, end-user-facing)channel/rcTargets the rc (release candidate) channel — final stabilization before liveTargets the rc (release candidate) channel — final stabilization before livesurface/tray-whats-newsurface/web-roadmap
Type
Fields
Give feedbackNo fields configured for issues without a type.
Problem
The tray and web companion currently authenticate independently, and there is no first-class concept of "the same user on two machines". A user who runs the tray on a desktop and a laptop has no pairing flow; concurrent captures from two machines can also produce duplicate events server-side.
Approach
Device-code OIDC flow for pairing the tray to the web companion. The web side initiates pairing; the tray surfaces a one-time device code; the user confirms on the trusted device. Each paired device is independently revocable from Settings.
Server-side dedup of overlapping captures when the same user runs the tray on two machines simultaneously — the canonical event-id derivation must collapse duplicates rather than store both.
Acceptance criteria
audit_logchainRisks / Open questions
Original draft notes
Device-code OIDC for tray ↔ web pairing. Per-device revocation in Settings. Server-side dedup of overlapping captures when the same user runs the tray on two machines simultaneously.
Tracking
tray-web-auth-multi-machine-synceta_band: tbd (set on the Project board when scoping firms up)channel/<name>labels when targeting firms up.