Auth0 Password Reset Fails for Passwordless Users Migrating to Username-Password Connection

Overview

When consolidating users from separate Passwordless and Username-Password Connections into a single database, Auth0 fails to find Passwordless users during a password reset because it only checks the Username-Password Connection. To resolve this, administrators must perform a full migration of all users from the Passwordless Connection to the Username-Password Connection.

The observable issue occurs when a user from a Passwordless Connection clicks the forgot password link and receives the following error:

 

User not found

 

Applies To
  • Passwordless Connections
  • Username-Password Connections
  • User Migration
  • Auth0
Cause

When a user from the Passwordless Connection attempts to reset a password, Auth0 checks for a match within the Username-Password Connection. Because the user exists only in the Passwordless Connection, Auth0 does not find the user.

Solution

How is the password reset issue resolved for users with a Passwordless Connection?

 

Perform a full migration of all users from the Passwordless Connection to the Username-Password Connection. After migration, either set the user passwords or require users to reset their passwords when logging in for the first time.

To migrate the users, export the user data from the Passwordless Connection and import it into the Username-Password Connection using one of the following methods.

  • Navigate to the Auth0 Dashboard and use the User Import/Export feature.
  • Use the Management API via the export /v2/jobs/users-exports and import /v2/jobs/users-imports endpoints.

 

Related References

Recommended content

No recommended content found...