# Announcing origin-bound OTP-Token headers in Appwrite Auth

DevFeed: [Announcing origin-bound OTP-Token headers in Appwrite Auth](<https://devfeed.tech/articles/announcing-origin-bound-otp-token-headers-in-appwrite-auth-128964.md>)

Original publisher: [Read original article](<https://appwrite.io/blog/post/announcing-otp-token-email-header>)

Author: Aditya Oberai

Published: 2026-11-11T00:00:00Z

Content type: release

Language: en

Sources: [Appwrite Blog](<https://devfeed.tech/sources/appwrite-blog.md>)

Topics: [Appwrite](<https://devfeed.tech/topics/appwrite.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [frontend security](<https://devfeed.tech/topics/frontend-security.md>), [email](<https://devfeed.tech/topics/email.md>)

Tags: [announcements](<https://devfeed.tech/tags/announcements.md>), [auth](<https://devfeed.tech/tags/auth.md>), [autofill](<https://devfeed.tech/tags/autofill.md>), [email](<https://devfeed.tech/tags/email.md>), [headers](<https://devfeed.tech/tags/headers.md>), [otp](<https://devfeed.tech/tags/otp.md>), [password-managers](<https://devfeed.tech/tags/password-managers.md>), [token](<https://devfeed.tech/tags/token.md>)

## AI overview

Appwrite Auth now adds an `OTP-Token` email header carrying a one-time code and the requesting web origin, allowing compatible mail clients, browsers, and password managers to offer autofill only on that origin. It applies to email OTP sign-in, verification, recovery, and email MFA challenges on Appwrite Cloud and self-hosted 2.7+, with no setting or SDK update; mark code inputs `autocomplete="one-time-code"`. Appwrite binds only usable HTTPS or local development origins, so server-side calls, native-app schemes, and public HTTP origins receive the existing email without the header. Custom SMTP relays may rewrite the header. Support depends on client software and an early IETF Internet-Draft. Origin binding reduces phishing risk during autofill but does not stop users from manually entering codes on phishing sites; the text recommends passkeys for phishing-resistant sign-in.

## Source excerpt

Appwrite Auth now adds an OTP-Token header to every email code, so mail clients and password managers can autofill the code on your app's origin only.