From 04ef9a0e64c69c3a2170f05fc5d0945212d13a2c Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 3 Mar 2021 20:44:46 +0100 Subject: [PATCH] Update keycloak_admin.py Fixed typo in params_path (leads to error) --- keycloak/keycloak_admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keycloak/keycloak_admin.py b/keycloak/keycloak_admin.py index c0ac364..af1e799 100644 --- a/keycloak/keycloak_admin.py +++ b/keycloak/keycloak_admin.py @@ -1861,6 +1861,6 @@ class KeycloakAdmin: :return: UserSessionRepresentation """ - params_path = {"realm-name": self.realm_name, "client-id": client_id} + params_path = {"realm-name": self.realm_name, "id": client_id} data_raw = self.connection.raw_get(URL_ADMIN_CLIENT_ALL_SESSIONS.format(**params_path)) return raise_error_from_response(data_raw, KeycloakGetError)