Iglu Server CORS config


I’m developing an internal web tool to help with schema management and it makes API requests to IGLU.

I’m getting a few CORS errors because the requirements of this tool require proper CORS configs and I need to add the following header to the IGLU api responses:

access-control-allow-origin: *

I can probably do this by having this injected by an API Gateway but i thought i’d ask if there was some other easier way to configure Iglu to do this for me so i don’t need to configure extra infrastructure for this typical feature. Thanks.

Hey @blackknight467,

It seems like CORS is already configured in Iglu Server such that it will allow any origin. May I ask if you include Origin header in your request ? In order to get response with CORS header, you need to include that in your request. It is explained here.