Search Users by Email endpoint return empty array

Problem statement

The Search Users by Email endpoint returns an empty array.

Solution

Sometimes, In cases where Auth0 is not the idP, the email is stored based on the rules of the idP, so you have to make sure the search is made using the correct capitalization when using that endpoint (Get users by email ). This is because the search looks for an exact match to the provided email address and is case-sensitive.