await kcAdmin.users.find() does not return all user
See original GitHub issueDescribe the bug
await kcAdmin.users.find();
returns exactly only 100 users, while actually there 112 in my case…
In your docs and readme page is said that this method returns all users.
Version
“@keycloak/keycloak-admin-client”: “^18.0.2”,
Expected behavior
I should get all users!!!
Actual behavior
I am getting only 100 users.
How to Reproduce?
Add more than 100 users and run await kcAdmin.users.find();
Anything else?
Please give workaround how to get all users.
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
await kcAdmin.users.find() does not return all user · Issue #3835
In your docs and readme page is said that this method returns all users. ... await kcAdmin.users.find() does not return all user #3835....
Read more >Keycloak Admin Client - npm
There are 30 other projects in the npm registry using ... List all users const users = await kcAdminClient.users.find(); // Override client ...
Read more >Keycloak API not actually searching users for realm
There are three possible reasons. 1 short master Token expires time 2 not using admin-cli in master when get the token 3 not...
Read more >Getting Started - jBPM Documentation
A web-based user interface to manage your business processes, targeted towards ... In there, users are able to get a list of all...
Read more >Server Administration Guide - Keycloak
A user will not be able to complete the authentication process until these actions ... The search returns all users who match your...
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
@HaithamOumerzoug I know about these attributes and about pagination. The point of my issue is for keycloak maintainers to update their docs to describe it clearly. Bcs in readme the say all users will be returned which is not true.
U welcome @valerii15298 , if you want a pagination use first attribute
kcAdminClient.users.find({ first : 0 , max: 100 }); // 0 to 100 users