feature request: search user by IDs/usernames/phones/emails
See original GitHub issueWhat problem did you meet?
/api/users?search=
only supports fuzzy search on multiple fields. Sometimes life needs to be more accurate, e.g., search a user by a specific ID, or a batch of usernames, etc.
Describe what you’d like Logto to have
Support something like /api/users?search=id:1,2,3&mode=exact
to return the exact search result on a specific field.
This issue includes:
- Search by multiple values with
or
logic - The result should exactly match the input
- Support id, username, phone and email match
- Integration test cases to cover all new features
To discuss (we can figure them it together):
- The search pattern (
search=id:1,2,3
orsearch=1|2|3&field=id
or something else? we are not sure yet)
Issue Analytics
- State:
- Created a year ago
- Comments:19 (17 by maintainers)
Top Results From Across the Web
[Feature Request] Search by ID - How to Use GitLab
Hi, Currently there is not option to find user/project by ID, only via gitlab console: User.find(<user_id>) Project.find(<project_id>) I ...
Read more >Search request by username , add approved user back to ...
1-How do i search the list of requests by username. Say someone registers and then they ask me to approve their account ?...
Read more >Add User ID # to Profile Page - iNaturalist Forum
Please add the User ID of each user on a prominent place on their Profile ... feature request, use username instead of user...
Read more >How to lookup User ID in Outlook
How to lookup User ID in Outlook. When looking up user ID's the best way it to go into Outlook. Once Outlook is...
Read more >blackbaud status update
At the top, in the search bar, type Google Workspace Marketplace SDK and press enter ... If a user has Blackbaud ID username...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Let’s start with the API part.
As for the UI, @fleuraly will take a look and post updates here.
Cool, then we can make in that way. How the UX will be for this? means how users will give mutliple ids or usernames, will it be space separated?