I am using a CORS setting as below in Assign-Message policy on the response pre-flow of an api proxy.
*Firefox complains with the below error (although its set to *).
Reason: missing token ‘cache-control’ in CORS header ‘Access-Control-Allow-Headers’ from CORS preflight channel
The same settings work with Chrome and Edge.
When I explicitly set all the header names as below, the request goes through in firefox
Content-Type, x-api-key, x-api-version, Accept, Cache-Control, pragma, AuthorizationHas anyone faced such an issue? Is setting the headers explicitly a best practice or setting it to * is still ok?
[P.S - I know, this is not really an Apigee problem. I just wanted to know from the folks here if they faced this issue and what’s the best way to fix it]