Prompt
Our app has shared tablets and occasional cross-device login. How should we handle passwordless authentication?
Latest observation
Oct 28, 2026
OpenAI APIWeb search: off
For shared tablets and occasional cross-device login, the safest pattern is:
Recommended approach
Use passwordless login with a short-lived, one-time verification step on the user’s own trusted device, then bind the session to the target tablet only after confirmation.
In practice, this usually means:
- Primary factor: passkey / WebAuthn, magic link, or OTP
- Second step for shared/public devices: require explicit confirmation on a trusted device or via another factor for sensitive actions
- No persistent “remember me” by default on shared tablets
- Short session lifetimes and aggressive logout/session revocation on shared devices
Best option: Passkeys
If you can, prefer passkeys (WebAuthn/FIDO2) because they work well across devices and are phishing-resistant.
Why they fit your case
- Users can authenticate from their own phone/laptop and then continue on the tablet
- They avoid passwords entirely
- They’re much safer than SMS or email links
- They reduce account takeover risk on shared hardware
Good flow
- User opens app on shared tablet.
- App shows a QR code or “Continue on your phone.”
- User authenticates on their personal device using Face ID / fingerprint / device PIN.
- The backend issues a short-lived session for the tablet.
- If the tablet is shared, the session expires quickly or is explicitly ended when the user finishes.
If you use magic links or OTPs
These can work, but be careful:
Magic links
- Send the link to the user’s email
- Prefer opening/confirming on the user’s trusted device, not the shared tablet
- Make links single-use and very short-lived
- Bind the token to the intended browser/device session if possible
OTPs
- Better than passwords in some cases, but weaker than passkeys
- Avoid SMS if possible
- If using email OTP, keep it short-lived and single-use
Important safeguards for shared tablets
- No autofill of credentials on public/shared devices unless user explicitly opts in
- Disable long-lived refresh tokens or store them securely and scope them tightly
- Idle timeout: sign out after inactivity
- Explicit logout and remote session revocation
- Device/session labeling: show “This is a shared device” or “Public device mode”
- Step-up authentication for sensitive actions like changing email, payout info, or exporting data
- Risk checks for unusual location/device changes or simultaneous sessions
A practical architecture
A strong pattern is:
- Login initiation on tablet
- User verifies on own device
- Server creates a session for the tablet with:
- short TTL
- restricted privileges until verified
- ability to revoke instantly
- For highly sensitive operations, require re-authentication on the trusted device
What to avoid
- Passwordless via a shared tablet-only email inbox
- Storing “remember me” cookies for weeks on shared devices
- Using SMS as the only factor if stronger options exist
- Allowing automatic login to a prior user’s account when the tablet is reused
Bottom line
For your scenario, the strongest and most user-friendly solution is:
Passkeys + cross-device sign-in + short-lived shared-device sessions + step-up verification for sensitive actions.
If you want, I can also sketch:
- a recommended login flow diagram,
- a backend session/token design,
- or a comparison of passkeys vs magic links vs OTPs for shared-device environments.
Brands