Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to get users by multiple usernames[Keycloak Admin Rest API]

I am new to this keycloak user management.

Basically I want to fetch users using "IN" condition on username field

like image 359
venkat.s Avatar asked Nov 15 '25 16:11

venkat.s


2 Answers

Currently, keycloak doesn't support getting multiple users by ids or usernames.

You can use keycloak SPI:

This is my repo for this query function: Bulk user query

If there is any bug. Feel free to submit pull request too.

like image 96
cYee Avatar answered Nov 17 '25 08:11

cYee


Unfortunately, no. See REST API doc: https://www.keycloak.org/docs-api/15.0/rest-api/index.html

like image 25
Jan Garaj Avatar answered Nov 17 '25 08:11

Jan Garaj



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!