From 325ffdc9e182f18bbf9c08c5b47a63ed5dca360c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Date: Wed, 9 Oct 2024 12:06:30 -0700 Subject: [PATCH] Fix a issue with PRODUCT --- .../automator/bpmnengine/camunda8/BpmnEngineCamunda8.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/camunda/automator/bpmnengine/camunda8/BpmnEngineCamunda8.java b/src/main/java/org/camunda/automator/bpmnengine/camunda8/BpmnEngineCamunda8.java index 99edf2a..26ac223 100644 --- a/src/main/java/org/camunda/automator/bpmnengine/camunda8/BpmnEngineCamunda8.java +++ b/src/main/java/org/camunda/automator/bpmnengine/camunda8/BpmnEngineCamunda8.java @@ -962,7 +962,7 @@ private void connectOperate(StringBuilder analysis) throws AutomatorException { SaaSAuthenticationBuilder saaSAuthenticationBuilder = SaaSAuthentication.builder(); JwtConfig jwtConfig = new JwtConfig(); - jwtConfig.addProduct(Product.TASKLIST, + jwtConfig.addProduct(Product.OPERATE, new JwtCredential(serverDefinition.zeebeClientId, serverDefinition.zeebeClientSecret, serverDefinition.operateAudience != null ? serverDefinition.operateAudience : "operate.camunda.io", serverDefinition.authenticationUrl != null ?