I am creating a custom angular tasklist application. for that I am using tasklist API’s. but I am gettting CORS error while calling tasklist API from my angular application. I had uploaded my project structure.
for now I am only using elasticsearch, zeebe, tasklist, and operate.
used API’s →
1. (POST) - http://localhost:8080/api/login?username=demo&password=demo
2. (POST) - http://localhost:8080/v1/tasks/search?TASKLIST-SESSION=D9A769CF1C7DB0725A9C5246C6BBA518
3. (GET) - http://localhost:8080/v1/forms/userTaskForm_0ludier?processDefinitionKey=2251799813685588
1st API return the tasklist-session in header which I am using for calling the 2nd and 3rd API.
I am not getting how to enable cross origin requests coming from http://localhost:4200 in zeebe tasklist
elasticsearch version - 7.16.2
zeebe version - 8.3.0
tasklist version - 8.3.0