Auth0 Confirm Resubmission Error Occurs When Navigating Back After Resending Email

Overview

A form resubmission error occurs when navigating back after resending a password reset email because Auth0 drops the previous transaction context. The expected behavior is that navigating back returns the user to the original password reset screen or the login page, but the browser prevents duplicate form submissions by displaying a warning. The browser displays the following warning:

 

Confirm Form Resubmission

 

Applies To

  • Auth0
  • Password reset email

Solution

Why does the form resubmission error occur?

 

This behavior is standard across many web applications and does not require a resolution. The error occurs when navigating to a page that requires context from a previous form submission after the browser loses that context. The browser displays the form resubmission warning because Auth0 initiates a new POST request for the password reset, dropping the previous transaction context that the browser requires when navigating back.

  • Between the steps to confirm the email address and the page where Auth0 instructs the user to check their email, a POST request informs the server where to send the password reset.
  • The confirmation screen depends on the POST request data from the previous screen.
  • When selecting Resend Email, Auth0 drops the previous transaction and initiates a new one.
  • When navigating back, the page rendering depends on the POST data from the initial transaction, which no longer exists.
  • The browser attempts to resend the form data upon refreshing or navigating back.
  • Browsers display the warning to prevent unintended duplicate submissions instead of automatically resending the request.

Recommended content

No recommended content found...