Closed tduong2049 closed 6 days ago
This doesn't resolve the issue https://github.com/Nerzal/gocloak/issues/456 with GetGroups() and GetGroup() not including the child/sub groups in the results - because of changes in Keycloak 23's API:
GetGroups()
GetGroup()
Rather, this is a separate method to get a group's child groups using the new GET /admin/realms/{realm}/groups/{id}/children endpoint in Keycloak 23's API - as mentioned in https://github.com/Nerzal/gocloak/issues/456#issuecomment-1874185851
GET /admin/realms/{realm}/groups/{id}/children
Method was tested locally with quay.io/keycloak/keycloak:23.0.4 image.
quay.io/keycloak/keycloak:23.0.4
As mentioned in https://github.com/Nerzal/gocloak/issues/456#issuecomment-1908854180, this method could be expanded with a params GetChildGroupsParams parameter.
params GetChildGroupsParams
I guess we need to update the pipeline in order to test Keycloak 23+ Features.
Closing this PR to support https://github.com/Nerzal/gocloak/pull/484
This doesn't resolve the issue https://github.com/Nerzal/gocloak/issues/456 with
GetGroups()
andGetGroup()
not including the child/sub groups in the results - because of changes in Keycloak 23's API:Rather, this is a separate method to get a group's child groups using the new
GET /admin/realms/{realm}/groups/{id}/children
endpoint in Keycloak 23's API - as mentioned in https://github.com/Nerzal/gocloak/issues/456#issuecomment-1874185851Method was tested locally with
quay.io/keycloak/keycloak:23.0.4
image.As mentioned in https://github.com/Nerzal/gocloak/issues/456#issuecomment-1908854180, this method could be expanded with a
params GetChildGroupsParams
parameter.