You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using KeycloakAdmin.create_group() with a set parent= parameter in order to create subgroups, the method raises an exception even if the operation is successful. This is because the API returns HTTP status code 204 No content, which KeycloakAdmin does not expect.
When using
KeycloakAdmin.create_group()
with a setparent=
parameter in order to create subgroups, the method raises an exception even if the operation is successful. This is because the API returns HTTP status code204 No content
, whichKeycloakAdmin
does not expect.python-keycloak/src/keycloak/keycloak_admin.py
Lines 1347 to 1349 in 5957607
You'd probably just have to add 204 to
expected_codes
in order to fix that issue. I can create a PR if that fixes the issue.The text was updated successfully, but these errors were encountered: