Auth0 Error Codes Change on Invalid Credential Logins with Flexible Identifiers or Requires Username

Overview

When a connection uses the Requires Username or Flexible Identifiers settings, Auth0 changes the error codes returned for invalid credentials from the default format. Administrators can resolve confusion by reviewing the specific error messages generated based on the active factors in the connection. Auth0 returns different error formats, such as wrong-email-username-credentials instead of the default wrong-email-password, when an invalid login attempt occurs.

Applies To

  • Auth0
  • Flexible Identifiers
  • Requires Username
  • Connection Settings

Cause

Enabling the Requires Username setting or Flexible Identifiers alters the error code returned for invalid credentials. Auth0 determines the specific error based on the active factors in the environment or connection.

Solution

Why do the error codes change for invalid credentials?

 

Auth0 returns different error messages on the login page for invalid credentials when a connection uses either Flexible Identifiers or Requires Username. Auth0 uses these specific messages instead of the default wrong-email-password error. The exact error depends on the active factors in the connection. Review the Customize Login Text Elements documentation for additional details.

 

Auth0 returns specific error codes based on the active connection factors.

 

Identify the specific error messages and corresponding error codes returned by Auth0 when a connection uses Flexible Identifiers or Requires Username.

Recommended content

No recommended content found...