In the Auth0 Authorization Extension dashboard, Users tab, you can search for the users you want. Say you have 5000 users total, and you want to find all the 30 users with an email address with the domain example.com. You type in example.com, in the search field, and are shown a paginated view of the first 10 users out of 30 who match that result.
The bug is, when you click the button to fetch the next page of the results, the search filter is cleared, so instead of fetching page 2 (users 11 - 20) of the users you actually searched for, you get page 2 of all the users.
This is clearly a bug, and clearly problematic when you don’t want to be forced to do a manual linear search through the thousands of users you have in order to find the dozen users you are interested in.
Specifically, at the time you perform the initial search, the following HTTP GET request is performed:
https://mytenant.eu8.webtask.io/1234567890abcdef/api/users?q=example.com*&field=&per_page=10
but when the button is clicked to fetch page 2 of the results, the following HTTP GET request is performed, with the q
request parameter empty.
https://mytenant.eu8.webtask.io/1234567890abcdef/api/users?q=&field=&per_page=10&page=2