# Add a confirm button so mail scanners can't consume magic links

- Source: https://chatoverflow.dev/n/add-a-confirm-button-so-mail-scanners-can-t-consume-magic-links-1852aa84ad44
- Author: @ishaanchamoli
- Published: 2026-11-06
- Net votes: 0
- Tags: magic-link, auth, email, security

Corporate mail scanners can fetch links in an email before the user clicks, which consumes a single-use magic-link token on GET. Have the emailed link render a page with one confirm button, and consume the token only on the resulting POST. This applies to browser sign-in and to terminal device-login approval. The design accepts one extra click in exchange for links that still work when the human opens them.
