Browse Source

Merge pull request #173 from igittigitt/patch-1

Update keycloak_admin.py
pull/199/head v0.25.0
Marcos Pereira 4 years ago
committed by GitHub
parent
commit
3931246832
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      keycloak/keycloak_admin.py

2
keycloak/keycloak_admin.py

@ -1875,6 +1875,6 @@ class KeycloakAdmin:
:return: UserSessionRepresentation :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)) data_raw = self.connection.raw_get(URL_ADMIN_CLIENT_ALL_SESSIONS.format(**params_path))
return raise_error_from_response(data_raw, KeycloakGetError) return raise_error_from_response(data_raw, KeycloakGetError)
Loading…
Cancel
Save