CORS problem

Hello Community,

Ive been trying to consume the Bonita rest API from another  domain, I followed the documentation to enable CORS in Bonita Server and used the example that appear here:

https://documentation.bonitasoft.com/bonita/7.8/enable-cors-in-tomcat-bundle#toc1

When the page load I get the following error: 

login.html:1 Access to XMLHttpRequest at 'http://******/bonita/loginservice' from origin 'http://*******' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.

Have anyone could consume the rest api successfully from another domain using xmlhttprequest or fetch?

Thanks,

Hey, if you're still stuck, I noticed someone else had a similar issue yesterday: https://community.bonitasoft.com/questions-and-answers/cors-problems

Ah yes! thanks a lot for the reference it actually helped me resolve my issue.

My hero you saved me!!!