Configure Auth0 Passkeys for Users with Non-Unique Emails in a Connection

Overview

Users in Auth0 connections containing non-unique emails experience login failures after successfully setting up Passkeys. This occurs because Passkeys default to using email addresses as identifiers, which causes conflicts when emails are not unique. To resolve this, configure the connection to use unique usernames as flexible identifiers and enable either the custom database Import Mode or the early access Context Object feature.

Applies To

* Auth0
* Passkeys
* Username login
* Non-unique emails
* Custom database connections

Cause

Passkeys default to using email addresses as identifiers. When a custom database connection contains non-unique emails, this default configuration causes conflicts and subsequent login failures.

Solution

How are Auth0 Passkeys configured for users with non-unique emails?

Configure the connection to use usernames as flexible identifiers and enable the necessary database settings to resolve the login failures.

 
  1. Enable flexible identifiers at the connection level, remove email as an option, and enable Username as the flexible identifier for the connection.
  2. Select Identifier First under the Authentication Profile.
  3. Enable either the early access feature Use your own database without user import enabled or turn on the custom database Import Mode.
NOTE: Administrators cannot disable either of these features once enabled. The early access feature is permanent but only adds a new returned context object, making it less impactful than Import Mode.

Recommended content

No recommended content found...