Auth0 Email Template Redirects to Default Error Page 5 Days After URL Expiration

Overview

Auth0 routes users to the default Auth0 error page instead of the configured Redirect To URL when they click an email template link five days after the URL Lifetime expires.

Applies To

  • Auth0
  • Email Templates
  • Redirect To URL
  • URL Lifetime

Cause

Auth0 retains the custom redirect context for 5 days after the configured URL Lifetime expires. Once this 5-day period passes, Auth0 drops the custom redirect configuration and defaults to the standard Auth0 error page. Administrators cannot customize this global five-day threshold for individual tenants.

Solution

How does the Redirect To URL behave after the URL Lifetime expires?

Review the following example using the Blocked Account Email template to understand how the redirect behavior changes based on when the user clicks the Unblock link when the Redirect To URL is set to https://example.com.

  1. Click Unblock Link (First click, within Lifetime)
  2. Click Unblock Link again (After unblocked, within Lifetime)
  3. Click Unblock Link again (Expired, up to ~5 days after expiration)
  4. Click Unblock Link again (Expired, 5+ days after expiration)
    • Resulting URL: https://<tenantDomain>/u/brute-force-protection-unblock?ticket=<ticketNumber>
    • Behavior: Instead of redirecting to the configured Redirect To URL (https://example.com), Auth0 routes the user to the default Auth0 Authentication Error page hosted on the tenant domain.

Recommended content

No recommended content found...