0

I am planning to use keycloak as Identity provider for one of my project. I wanted to extend the user information by adding user attributes, but the problem is I also want to be able to query based on that attribute.

Did some research but couldn't find one yet.

I am using keycloak-admin nodejs package.

Navneet
  • 3
  • 1
  • 5
  • Is this still relevant? I just query all users with JavaScript and filter by attributes then. localhost:8080/auth/admin/realms/master/users – Data Mastery Jul 25 '21 at 18:07

1 Answers1

0

As the package wraps the Keycloak Admin API and at the users resource there is no queryParameter to query user attributes, I guess you have to fetch all users and filter yourself.

Matthias Wiedemann
  • 1,313
  • 12
  • 22