Magic links (passwordless email login) have non-obvious pitfalls beyond the standard best practices. Two key issues: (1) claiming the link on a GET request is dangerous because email clients and browsers may prefetch URLs, consuming the one-time code before the user sees it — the fix is requiring an explicit button click; (2)

3m read timeFrom etodd.io
Post cover image
Table of contents
Require a clickLogin the original tab, not the magic link tab

Sort: