cors issue while making an api call from angular application

337 views
Skip to first unread message

Akhil Veramalli

unread,
Jun 21, 2023, 7:39:47 AM6/21/23
to jBPM Usage
Hi,
We are using this jboss/jbpm-server-full Image 
 The image contains:
  • JBoss Wildfly 23.0.2.Final
  • jBPM Workbench 7.61.0.Final
  • KIE Server 7.61.0.Final
  • jBPM Case Management Showcase 7.61.0.Final
while i am making an api call from POSTMAN i am not facing any issues but while i am making an api call from angular application i am getting cors issue like this

Access to XMLHttpRequest at 'http://xx.xx.xx.xx:8080/kie-server/services/rest/server/containers/Tayrix_Scouting_1.0.0-SNAPSHOT/processes/definitions/Tayrix_Scouting.scouting/tasks/users' from origin 'http://localhost:8100' has been blocked by CORS policy: Request header field access-control-allow-origin is not allowed by Access-Control-Allow-Headers in preflight response.


can someone please help me how to configure cors in the kie server 

ganesh bambal

unread,
Jun 21, 2023, 7:53:24 AM6/21/23
to Akhil Veramalli, jBPM Usage
Hello,
You can try using hard coded password.


--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/646b957f-604d-45f3-a7ac-fcfabbe3bc67n%40googlegroups.com.

Akhil Veramalli

unread,
Jun 26, 2023, 3:32:35 AM6/26/23
to jBPM Usage
Issue resolved after following the instructions in the below link 

Reply all
Reply to author
Forward
0 new messages