Open
Description
Using the "Wide Open" configs for nginx produced errors for some clients. After digging w/ @jcarbaugh we found that the w3c recommends a different standard of flow control. Specifically if ORIGIN
header was not set you are to terminate and not set any of the CORS
headers.
Not just that but the configs also set headers like Access-Control-Allow-Methods
and Access-Control-Allow-Headers
for GET
and POST
requests when they should only be set on the OPTIONS
requests (aka "preflight" requests).
Finally the w3c bullet point 3 in section 6.1 thats that:
The string "*" cannot be used for a resource that supports credentials.
which the configs also explicitly set with add_header 'Access-Control-Allow-Credentials' 'true'
expect a PR very soon.
--timball
Metadata
Metadata
Assignees
Labels
No labels