Email OTP Verification in Auth0 - Expiry and Max Retries
Last Updated:
Overview
Auth0 Email one-time password (OTP) codes are valid for 15 minutes, and no maximum retry threshold applies. Understanding the rate limit on the /u/email-identifier/challenge endpoint resolves confusion about OTP validation behavior.
Applies To
- Auth0
- Email OTP
- Multi-Factor Authentication (MFA)
- Passwordless Authentication
Solution
What is the expiry period for an Email OTP?
The expiry period for an Email OTP is 15 minutes. This setting is currently non-configurable. Verify the Email OTP Verification configuration in the Admin Dashboard to ensure the feature is active.
Email OTP Retry Thresholds and Rate Limits
This endpoint does not currently have a max retries threshold, but users are more likely to come across a rate limit on the following endpoint, which is 5 requests per minute per IP on a production tenant:
/u/email-identifier/challenge