I use the CORS plugin with Kong ingress controller, whitin Postman, the API works great, the response includes an
But when I made cors request in Chrome, it report:
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
The server has not found anything matching the requested URI (Uniform Resource Identifier).
My upstream service is a express/node app, I already set the cors middleware, but it seems the preflight HTTP OPTIONS request won’t go through or get response from the Kong gateway.
And I noticed the plugin has an limitation.
But I don’t know to configure my KongIngress object to overcome this limitation in broswer for cors request.