Auth0 Universal Login displays unknownErrorDescription instead of alreadyVerifiedDescription when clicking an email verification link for the second time

Hi Auth0 Community,

We are using Auth0 for authentication and have implemented the email verification flow during user registration.

Our expected behaviour is as follows:

  1. When a user registers with their email address, Auth0 sends an email containing a verification link.

  2. When the user clicks the link for the first time, the email is successfully verified, and the success message is displayed.

  3. If the user clicks the same verification link again, we expect Auth0 to display the message configured in the alreadyVerifiedDescription field, indicating that the email address has already been verified.

Current Issue:

When the user clicks the same verification link for the second time, Auth0 displays the message configured in unknownErrorDescription instead of alreadyVerifiedDescription.

We have already configured the following text under:

Auth0 Dashboard → Branding → Universal Login → Edit Text and Translations → Email Verification Prompt

  • alreadyVerifiedDescription – Configured with a message indicating that the email address is already verified.

  • unknownErrorDescription – Configured with a generic error message.

However, the unknownErrorDescription message is consistently displayed when the same verification link is reused.

Expected Behaviour:

We would expect Auth0 to identify that the email address has already been verified and display the corresponding alreadyVerifiedDescription message rather than the generic error message.

Questions:

  1. Is this the expected behaviour of Auth0, or is there any configuration missing in our Universal Login setup?

  2. Under what circumstances is the alreadyVerifiedDescription field triggered?

  3. Is there any way to configure Auth0 to display a specific message when a user clicks an already-used verification link, rather than displaying the generic unknownErrorDescription?

  4. If this is the intended behaviour, is there any recommended workaround to provide users with a more meaningful message?

Any guidance or suggestions would be appreciated.

Thank you!

Hi @Parshwa

Welcome back to the Auth0 Community!

You are asking why Auth0 shows the unknownErrorDescription message instead of the alreadyVerifiedDescription message when a user clicks an email verification link a second time, and whether the Universal Login text configuration or a workaround can change that.

[Summary]

Is this the expected behaviour of Auth0, or is there any configuration missing in our Universal Login setup?

This is the expected behaviour of Auth0. There is no missing configuration in your Universal Login setup.

In Auth0’s backend architecture:

  • When an email verification link is issued, a verification record (a ticket) is stored in Auth0’s datastore.

  • The link contains a one-time ticket query parameter: https://{auth0_domain}/u/email-verification?ticket={ticket}#.

  • When the user visits the link the first time, Auth0 processes the ticket, marks the user’s email_verified as true, and marks the ticket as consumed by adding a used_at timestamp.

  • When the user visits the exact same link a second time, the ticket is already marked as consumed. Auth0 halts at the ticket validation phase. Because the ticket is no longer redeemable, the hosted Universal Login page treats it as an invalid/expired ticket request and falls back to unknownErrorDescription rather than continuing to the user profile evaluation.

Under what circumstances is the alreadyVerifiedDescription field triggered?

The alreadyVerifiedDescription text is only triggered when Auth0 evaluates an unconsumed, valid ticket for an account whose email is already marked as verified.

  • Multiple verification emails: A user requests two verification emails (producing Ticket A and Ticket B). If they click Ticket B first, their email becomes verified and Ticket B is consumed. If they subsequently open the earlier email and click Ticket A, Ticket A is still valid and unconsumed—Auth0 reads the ticket, checks the user record, detects that email_verified: true, and displays alreadyVerifiedDescription (recording an fv log in Auth0 with description “This account is already verified.”).

  • Pre-verified accounts: An administrator or backend job manually marks the user as verified (email_verified: true via the Management API) before the user clicks their initial, valid verification link.

Because a reused link has already had its ticket consumed (used_at exists), it never reaches this check.

This is also outlined in the Verification Email Error Message support article.

Is there any way to configure Auth0 to display a specific message when a user clicks an already-used verification link, rather than displaying the generic unknownErrorDescription?

Within the hosted Universal Login page directly, no.

Auth0’s New Universal Login prompt for Email Verification does not provide a discrete translation key for "ticket_already_consumed" versus other ticket validation errors. Any invalid, expired, or previously redeemed ticket fails ticket lookup and renders the prompt defined in unknownErrorDescription.

[Recommended Workarounds]

Workaround 1: Configure a “Redirect To” (Result URL)

The standard way to provide a smooth user experience is to redirect users back to your application rather than terminating on Auth0’s hosted verification page.

  1. In the Auth0 Dashboard, go to Branding > Email Templates > Verification Email (using Link).

  2. Set the Redirect To field to a dedicated route in your application (e.g., https://app.yourdomain.com/email-verification-result).

  3. When a user clicks an already-used ticket with a Redirect To URL configured, Auth0 redirects the user back to your application with the following query parameters:

    https://app.yourdomain.com/email-verification-result?email=user%40example.com&message=This%20URL%20can%20be%20used%20only%20once&success=false

  4. Your application can inspect message=This URL can be used only once or verify the user’s status via the Management API / session, and display a tailored screen (e.g., “Your email has already been verified! You can proceed to log in.”).

Workaround 2: Update the unknownErrorDescription Copy

If you prefer to keep users on the Auth0 hosted page without a redirect, update the unknownErrorDescription text under Branding → Universal Login → Edit Text and Translations → Email Verification Prompt to be descriptive rather than generic.

“This verification link is invalid, expired, or has already been used. If you have already verified your email, please proceed to log in. Otherwise, you can request a new verification link.”

Note on Email Security Scanners

If you find that users encounter this error on their first manual click, intermediate email security tools (such as Microsoft Defender / Safe Links or corporate spam filters) may be pre-fetching and consuming the single-use GET link before the recipient opens it.

Kind Regards,
Nik