Is there a way to list all identities based on filters? Is there an api for search an identity by any other parameter apart from id? #3591
Replies: 3 comments
-
Any chance to have this kind of functionality? |
Beta Was this translation helpful? Give feedback.
-
As far as I know, something like this is not implemented. The best option for running good queries on the identities has been directly querying the database, using SQL or any ORM, for me. |
Beta Was this translation helpful? Give feedback.
-
It‘s unlikely because it needs a second search engine and that depends on scale, frequency of changes and so on. We are building out this capability in Ory Network though and will port it to the enterprise version as well at some point. For open source and tinkering we don’t have an idea/plan at this time |
Beta Was this translation helpful? Give feedback.
-
Filters like listing identities in ascending or descending order (sorting) based on a parameter value inside traits object, getting a response filtered by a parameter, or simply searching all the records that include the provided value in query parameters.
I can do all of these things in my code after getting the result from
/admin/identities
, but I just wanted to know whether there is something that already does that.Any help would be much appreciated, thanks.
Beta Was this translation helpful? Give feedback.
All reactions