Searching by role in user metadata is returning incomplete results

When I request users using the query user_metadata.userRoles="Admin" I get incomplete results, because the application always searches for upper case first, cannot even get correct results if I do user_metadata.userRoles=“Admin” or user_metadata.userRoles=“admin”

Please help

Hi @dan.valle

Welcome to the Auth0 Community!

All user_metadata fields are case sensitive, so if you are signing users with Admin or admin that can lead to incomplete results.

You can read more about User Search Query here


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.