This pull request is in response to issue #509 and the changes introduced to keycloak 23.
According to this comment the new expected way to retrieve subgroups is to use the groups/{id}/children endpoint.
This pr adds a new method which uses the children endpoint to fetch the children of the specified group.
I also tried to fix the remaining test cases that were failing in tests/test_keycloak_admin.py::test_groups.
Tough I am not sure if that is the way you would want it fixed so any feedback there is appreciated as with the rest is appreciated.
This pull request is in response to issue #509 and the changes introduced to keycloak 23. According to this comment the new expected way to retrieve subgroups is to use the groups/{id}/children endpoint.
This pr adds a new method which uses the children endpoint to fetch the children of the specified group. I also tried to fix the remaining test cases that were failing in tests/test_keycloak_admin.py::test_groups. Tough I am not sure if that is the way you would want it fixed so any feedback there is appreciated as with the rest is appreciated.