Account Linking Considerations for Email Case Sensitivity
Last Updated:
Overview
This article will explain if Case sensitivity differences will prevent accounts from linking when using account linking. For example, if a user from a GitHub connection has an email like Test@example.com, but their Gmail uses test@example.com.
Applies To
- Account Linking
- Case Sensitivity
Solution
If using the Account Linking Extension rule, this uses the /api/v2/users-by-email endpoint of the Management API to return user accounts with the same email. Since this is a case-sensitive search, and Auth0 stores emails from upstream Identity Providers (IdPs) with the case preserved, Account Linking fails for accounts where the email is the same but with different capitalization.
If linking accounts with the Management API, there is no requirement for emails to match on the two accounts: Link a user account.