I have created a user storage SPI, exactly as defined in the documentation: https://www.keycloak.org/docs/latest/server_development/index.html#_user-storage-spi, a literal copy/paste.
I have implemented the interface UserQueryProvider
correctly, but when I go to the admin console in kecloak, Manage -> Users -> View all users
, only internal db users are displayed, I would expect to see also here my federated users, because I have implemented the getUsers
method. I added some logs, and none of the getUsers
overloaded methods is ever called.
However, when I search in the same screen for one of my federated users, it shows up, so the searchForUser
method from the same interface (UserQueryProvider
) at least works.
Any idea why?
Regards