How did we debug a cors issue in tomcat container

Access to XMLHttpRequest at ‘https://myexample.com/api' from origin ‘https://mywebsite.com' has been blocked by CORS policy: The value of the ‘Access-Control-Allow-Credentials’ header in the response is ‘’ which must be ‘true’ when the request’s credentials mode is ‘include’. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
<init-param> 
<param-name>cors.support.credentials</param-name>
<param-value>true</param-value>
</init-param>
public static final String DEFAULT_SUPPORTS_CREDENTIALS = "false";
public static final String DEFAULT_SUPPORTS_CREDENTIALS = "true";

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store