From 65721b6c405d1e6283f7d9975ae26d10bb503b48 Mon Sep 17 00:00:00 2001 From: David-Lor <17401854+David-Lor@users.noreply.github.com> Date: Sun, 6 Sep 2020 19:10:05 +0200 Subject: [PATCH] Remove unused client_id arg from assign_realm_roles method --- keycloak/keycloak_admin.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/keycloak/keycloak_admin.py b/keycloak/keycloak_admin.py index a42bd57..f0b3c52 100644 --- a/keycloak/keycloak_admin.py +++ b/keycloak/keycloak_admin.py @@ -909,13 +909,11 @@ class KeycloakAdmin: return raise_error_from_response(data_raw, KeycloakGetError, expected_code=201, skip_exists=skip_exists) - def assign_realm_roles(self, user_id, client_id, roles): + def assign_realm_roles(self, user_id, roles): """ Assign realm roles to a user - :param client_id: id of client (not client-id) :param user_id: id of user - :param client_id: id of client containing role, :param roles: roles list or role (use RoleRepresentation) :return Keycloak server response """