mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-05 00:39:38 +03:00
🚀 Feature: Email Login Codes should be usable only on the device that requested them #563
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ItalyPaleAle on GitHub (Dec 8, 2025).
Feature description
For security reasons, email-based login codes should only be usable on the same device / browser that requested them.
Practically speaking, when users request an email login code for themselves, a cookie is set in the browser. The login code should be redeemable only if the cookie is available in the same browser.
Pitch
Other apps enforce similar requirements, as this prevents certain kinds of social engineering attacks.