/admin/realms/admin/users does not return [UserRepresentation]

When doing a GET to /admin/realms/admin/users, I get a slim version of UserRepresentation:


I need for instance groups to also be returned.

Any idea why this is happening?

Anyone with any ideas?

This is the representation returned by the GET /{realm}/users endpoint of the current Admin API. In order to get the user’s groups, you have to call the GET /{realm}/users/{id}/groups endpoint: Keycloak Admin REST API