[keycloak-user] Federation of Roles, Groups and Realms

Simon Levermann simon at slevermann.de
Wed Aug 14 05:17:49 EDT 2019


It turns out that, in order to display "all users", Keycloak does not
call getUsers(...), but instead calls the search(Map<>,...) function,
supplying an empty map. Implementing these functions ended up making the
show all users functionality work as expected.

On 13.08.19 22:29, Simon Levermann wrote:
> with our current implementation
> (https://gist.github.com/sonOfRa/f0d3b8baba2ac5c62ea7d5eb5bfcd33d) of
> the provider (essentially a slightly adjusted copy of the example in the
> keycloak-quickstart repository), *searching* for users already works.
> However, the "view all users" button in the users tab shows that no
> users are available. I would have expected that the getUsers function
> would be called in order to populate the data here, but firing up a
> debugger suggests that those methods don't even get called. Is this
> expected behaviour because federated users are simply not shown in the 
> "All users" functionality, or is there some other interface I'd have to
> implement on the provider in order to have that tab populated?


More information about the keycloak-user mailing list