Azure Front Door To APIM - CORS Error (Cache Not Enabled At Front Door)
Amit-J
341
Reputation points
Hi,
I have updated few cors origin in APIM policy and while testing getting weird results.
- When testing from my company network, cors works fine. (internal network flow is App Gateway-->APIM)
- When testing from internet, cors error is generated that origin is not allowed. (external network flow is Azure Front Door-->App Gateway-->APIM)
First, I suspected that it could be due to caching but I checked, there is no caching enabled at front door, neither at rule engine level nor at routing rule level.
What could be the reason that same client app from same browser invoking same api gets success via app gateway but fails via front door ?
There are no extra header/host settings enabled at front door level.
I am using Front Door Classic
Please guide.
Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,455 questions
Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
858 questions
Sign in to answer