When given a regular cross site request it works fine, however when you're using with credentials I get the following.
Failed to load http://{testing}/iam/check: Response to preflight request doesn't pass access control check: 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'. Origin 'http://localhost:8080' is therefore not allowed access. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
By looking at the code if AllowAllOrigins is enabled it will just always output * as the allow origin header.
I've done this in a different repository by sending everything up to the path from the referrer for example http://localhost:8080.
Take the following configuration.
When given a regular cross site request it works fine, however when you're using with credentials I get the following.
By looking at the code if
AllowAllOrigins
is enabled it will just always output*
as the allow origin header.I've done this in a different repository by sending everything up to the path from the referrer for example
http://localhost:8080
.