diff --git a/identityutils/keycloak_client.py b/identityutils/keycloak_client.py index f2c5bec..cf6c842 100644 --- a/identityutils/keycloak_client.py +++ b/identityutils/keycloak_client.py @@ -8,6 +8,7 @@ logger = logging.getLogger('um-identity-service') + class KeycloakClient: def __init__(self, server_url, realm, username, password): @@ -505,7 +506,5 @@ def delete_resource_permissions(self, client_id, permission_id): ) def create_client(self, payload, skip_exists=True): - data_raw = self.keycloak_admin.create_client(payload=payload, skip_exists=skip_exists) - return raise_error_from_response( - data_raw - ) \ No newline at end of file + return self.keycloak_admin.create_client(payload=payload, skip_exists=skip_exists) + \ No newline at end of file