Cross-Device Login (QR)
How users securely transfer key access to a new device via QR code
What is this section about?
Why is this important?
How It Works
Flow Diagram
Device B (new) Server (Redis) Device A (logged in)
β β β
βββ createSession(pubKey) βββββΆβ β
ββββ sessionId + shortCode βββββ β
β β β
β (display QR code or β β
β short numeric code) β β
β β β
β ββββ scan QR / enter code ββββββ
β β β
β ββββ approve(encryptedShare) βββ
β β β
βββ poll for payload ββββββββββΆβ β
ββββ encryptedPayload ββββββββββ β
β β β
β (decrypt locally with β β
β ephemeral private key) β β
β β β
β β Device share received β βStep by Step
Security Properties
Property
Guarantee
Push Notifications
Server Routes
Route
Method
Purpose
When to Use QR Login vs. Recovery
Scenario
Recommended approach
Key Takeaways
Last updated
Was this helpful?