gravitee-io / issues

Gravitee.io - API Platform - Issues
64 stars 26 forks source link

Configure am-management-api http cors #4781

Open danielsantoso opened 3 years ago

danielsantoso commented 3 years ago

I running graviteeio-am-management-api version 2.10.11 on docker. I using env var , how to set http cors allow-origin to * using env var? Thanks

tcompiegne commented 3 years ago

Hi @danielsantoso , I think by default the origin is set to *, which error do you have ?

Regards

danielsantoso commented 3 years ago

IMG_20201213_203747

Here is the error when i access gravitee-am-ui

danielsantoso commented 3 years ago

if i hit the management-api endpoint using postman, it works, but from the management-ui it hit the CORS policy

mahranben commented 1 year ago

Hello, we are encountring the same issue. Have you managed to solve it since @danielsantoso