FFFF What is not working well with the current Admin APIs? · keycloak keycloak · Discussion #37655 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

Replies: 17 comments 18 replies

Comment options

stianst
Feb 26, 2025
Maintainer Author

You must be logged in to vote
1 reply
@lhanusov
Comment options

Comment options

You must be logged in to vote
1 reply
@jbman
Comment options

Comment options

stianst
Mar 19, 2025
Maintainer Author

You must be logged in to vote
4 replies
@jbman
Comment options

@lrozenblyum
Comment options

@consooo
Comment options

@consooo
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@thw0rted
Comment options

Follow up to this, in the ticket I linked the team has replied that what I'm trying to do is not possible with the current API.

My use case is, I'm writing an application where I would like to present a simple single/unified search bar, so the user can look up KC Users from a particular subset denoted by a custom attribute on their KC account. When querying all KC users (not just the subset), free-text search (search query param) works well for this, and I can set a max param to return only enough results to populate an autocomplete drop-down so the query completes reasonably quickly. But limiting the query to this subset by custom-attribute under the current API would mean either making multiple individual field queries (firstName / lastName / email) and de-duplicating the results on the client side, or making one big search query and picking out the subset on the client.

Both workarounds would perform poorly, and involve sending a bunch of unused data, possibly providing inconsistent results. Supporting search and q at the same time (or something analogous to this) would provide a much more elegant solution.

Comment options

You must be logged in to vote
4 replies
@thw0rted
Comment options

@thegushi
Comment options

@thw0rted
Comment options

@thegushi
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Plasmadog
Comment options

@lungershausm
Comment options

@krusc84
Comment options

Comment options

You must be logged in to vote
1 reply
@shawkins
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@vmuzikar
Comment options

@sdesbure
Comment options

@vmuzikar
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
0