Description
Currently, the RealmsResource only has one Method to find all Realms in a Keycloak Instance, which always fetches the complete RealmRepresentation for all Realms. The Keycloak Admin API seems to have a briefRepresentation Query Parameter to request smaller realm representations.
Would it be possible to add this query parameter to the admin client or provide a different way to list all realms in a Keycloak instance?
Discussion
No response
Motivation
When trying to iterate over all realms using the admin client, it is currently necessary to use the RealmsResource.findAll(). In our case this leads to malformed JSON because the Realms request runs into the transaction timeout as mentioned in keycloak/keycloak#26884.
Details
No response
Description
Currently, the RealmsResource only has one Method to find all Realms in a Keycloak Instance, which always fetches the complete
RealmRepresentationfor all Realms. The Keycloak Admin API seems to have abriefRepresentationQuery Parameter to request smaller realm representations.Would it be possible to add this query parameter to the admin client or provide a different way to list all realms in a Keycloak instance?
Discussion
No response
Motivation
When trying to iterate over all realms using the admin client, it is currently necessary to use the
RealmsResource.findAll(). In our case this leads to malformed JSON because the Realms request runs into the transaction timeout as mentioned in keycloak/keycloak#26884.Details
No response