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:
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?
Ah yes! thanks a lot for the reference it actually helped me resolve my issue.
My hero you saved me!!!