[PR #10840/b865bf57 backport][stable-10] Fix keycloak sub-group search (#10845)

Fix keycloak sub-group search (#10840)

* fix bug in missing realm argument when searching for groups

* MR change fragment

* 39+1=40

(cherry picked from commit b865bf5751)

Co-authored-by: Jakub Danek <danekja@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2025-09-21 20:44:25 +02:00
committed by GitHub
parent 01d0f3ccb7
commit 0b116fa1dc
2 changed files with 3 additions and 1 deletions

View File

@@ -1626,7 +1626,7 @@ class KeycloakAPI(object):
return None
for p in name_chain[1:]:
for sg in self.get_subgroups(tmp):
for sg in self.get_subgroups(tmp, realm):
pv, is_id = self._get_normed_group_parent(p)
if is_id: