Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pagination in user search #485

Closed
mdave16 opened this issue Sep 8, 2022 · 2 comments
Closed

pagination in user search #485

mdave16 opened this issue Sep 8, 2022 · 2 comments
Labels
bug This points to a verified bug in the code

Comments

@mdave16
Copy link

mdave16 commented Sep 8, 2022

Thank you in advance for helping us to improve this library! Your attention to detail here is greatly appreciated and will help us respond as quickly as possible. For general support or usage questions, use the Auth0 Community or Auth0 Support. Finally, to avoid duplicates, please search existing Issues before submitting one here.

By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

I want to get a list of all users who fit a certain criteria. Using the api I could use pagination to return many users. Using the cli, it returns a max of 50 users. This is fine, but how can I get the older users.

Describe the ideal solution

auth0 users search -q 'user_metadata.city: "Seattle"' -p 2 (--page 2) -l 60 (--limit 60)
and this returns a list of users similar to the api...

Alternatives and current work-arounds

I can write a script that will analyse the last created and then add the filter that created by is before a certain date, join these data bits together, (or user export in the UI, or through management api similar to #475 )
This helps to get to the same end result as #475 but is a different functionality so I've chosen to create a new one, if you feel they are similar enough, feel free to close this one.

Additional context

Add any other context or screenshots about the feature request here.

@sergiught sergiught added the bug This points to a verified bug in the code label Oct 10, 2022
@willvedd
Copy link
Contributor

Update: We've included fix for this in the v1.0.0-beta.1 release. For those who are so inclined, we'd be happy to receive feedback on the beta before it goes GA, including feedback on this particular issue. Otherwise, we plan to close this issue out once v1.0.0 reaches GA. Again, appreciate everyone's patience!

@willvedd
Copy link
Contributor

Fixed and released in our v1.0.0 release. We encourage folks to upgrade and give it a shot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

No branches or pull requests

3 participants