Me and a colleague have been trying to troubleshoot a CORS issue we have been having for the last couple of days. After a few days of banging our heads on the keyboard we stumbled across:
If the client is a browser, there is a known issue with this plugin caused by a limitation of the CORS specification that doesn’t allow to specify a custom
Hostheader in a preflight
Because of this limitation, this plugin will only work for APIs that have been configured with a
urissetting, and it will not work for APIs that are being resolved using a custom DNS (the
I am not quite sure how to configure Kong for URIs. I believe I have to set up an upstream and strip the host? Or am I way out in the weeds on this?
Thanks for any help.