Backend returns
Access-Control-Allow-Headers: *
I have a request like
fetch('url-here', {
// ...
headers: {
'X-Auth': token,
}
})
It works in Chrome but for Firefox I'm getting
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at <...cut...>. (Reason: missing token ‘X-Auth’ in CORS header ‘Access-Control-Allow-Headers’ from CORS preflight channel).[Learn More] Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at <...cut...>. (Reason: CORS request did not succeed)