r/appwrite • u/Ok-Consideration-539 • 13d ago
Appwrite Auth now supports origin-bound OTP-Token headers
Hey Redditors!
We've just added origin-bound OTP-Token headers to Appwrite Auth to make email code autofill easier and more secure.
When your app sends a one-time code, Appwrite can now include an OTP-Token header that ties the code to your app's origin. Compatible mail clients and password managers can use this to offer autofill only on the origin that requested the code.
Here's what's included:
Origin-bound autofill: Supported clients can offer codes only on the origin that requested them, helping reduce phishing risks.
Works across email code flows: Supports email OTP sign-in, email verification, password recovery, and MFA email challenges.
No extra configuration: Appwrite handles the header automatically for eligible browser requests, with no SDK updates required.
This is live on Appwrite Cloud and available for self-hosted users on Appwrite 2.7 and later.
Autofill support is still early and depends on the user's mail client or password manager.
Read the full announcement: https://appwrite.io/blog/post/announcing-otp-token-email-header
Give it a try, and let us know what you think!