Auth0 Email Validation

Overview

When updating a user’s email address, the following error may occur if the email address is considered not valid:

Payload validation error: ‘Object didn’t pass validation for format email: test@test-au-.com’ on property email (The user’s email).

This article explains how Auth0 validates email addresses.

Applies To

  • Email Validation

Solution

In the particular example above, the validation fails because domain names cannot start or end with a hyphen. Another common reason for failures is the local part of the email exceeding 64 characters.

There is currently no way to customize the validation logic. Please feel free to submit a feature request using the Product Feedback form. More information about this process can be found at How do I submit Product feedback or feature requests?

Archived via Sign in to Okta | Slack