Resend explains email verification APIs and the draft OTP-Token header
Brief
Resend describes browser and email changes that could make email verification less cumbersome, while emphasizing that the proposed OTP-Token header is still experimental.
What developers can prepare
- The Email Verification API could verify an address without sending a verification email when the user is logged in to a supported webmail provider and using a supported browser.
- Resend shows how to add an OTP-Token header containing the code and its valid origin to an email. The origin-bound format is intended to help prevent phishing.
Current limitations
- The Email Verification API is an experiment, and the OTP-Token header is an early draft that may never become an RFC.
- No email client reads the OTP-Token header yet. Resend suggests it could eventually be used as an email transport with WebOTP, but that integration does not exist today.
Generated by AI from the original article. Check the source for full details.