diff --git a/templates/user-group-role_created.json.j2 b/templates/user-group-role_created.json.j2 index daa3b32..9294351 100644 --- a/templates/user-group-role_created.json.j2 +++ b/templates/user-group-role_created.json.j2 @@ -136,7 +136,7 @@ "taskReferenceName" : "assign_role_to_user", "type" : "SIMPLE", "inputParameters" : { - "url" : "${init.input.keycloak_admin}/users/${select_user.output.result[0].id}/role-mappings/clients/${lookup_client.output.body[0].id}", + "url" : "${init.input.keycloak_admin}/users/${select_user.output.result.id}/role-mappings/clients/${lookup_client.output.body[0].id}", "expect" : [204, 404], "method" : "POST", "body" : "${select_role.output.result}",