This commit is contained in:
Fabien Salles 2025-03-29 21:59:13 +01:00 committed by GitHub
commit 16624dde08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1551,7 +1551,7 @@ class KeycloakAPI(object):
if parent['subGroupCount'] == 0:
group_children = []
else:
group_children_url = URL_GROUP_CHILDREN.format(url=self.baseurl, realm=realm, groupid=parent['id'])
group_children_url = URL_GROUP_CHILDREN.format(url=self.baseurl, realm=realm, groupid=parent['id']) + "?max=" + str(parent['subGroupCount'])
group_children = self._request_and_deserialize(group_children_url, method="GET")
subgroups = group_children
else: