We expecting to use Auth0 for a multi-tenant SaaS application with a legacy user data store. We will be using a custom database connection to migrate users to Auth0 data store over time.
Our architecture relies on being able to retrieve users based on information stored in metadata (as per this article app_metadata should be named just metadata if we are using a custom db connection).
We need to retrieve users based on tenantId or groupCodes for different use cases. But the action scripts listed on custom-db don’t seem to include anything for searching users.
Given that our users will span our custom db and Auth0 db for a period of time, we are looking for a consistent to perform these user searches, but I couldn’t find any documentation confirming the availability/unavailability of user search in case of custom db connections.
Could someone please clarify this for me?