CORS problem

1
0
-1

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,

No answers yet.
Notifications