Hello Ajkuma, the issue is resolved and things are ok now. Thanks for checking back
Azure App Service CORS 403 Error , Request Method Options
I have configured App Gateway and the backend of my App Gateway has two apps, one Front End Web App and another Function App.
The function app is talking to a Databricks instance from another tenant and getting data.
I have an API app that is sitting between my Front End and Function App.
After doing custom domain name binding for both my FE and Function App and making the custom domain name same as the App GW Https listeners, i get rerouted to the Front End web app when i try to browse to the Front End App via App Gateway.
But i get to see this error in the browser after i hit F12.
In the API web app i have CORS enabled and the URL mentioned is that of the custom domain of the FE web app.
Any idea why this error is coming still
Request URL: https://contoso-qa-8234.azurewebsites.net/datahub/negotiate
Request Method: OPTIONS
Status Code: 403
Remote Address: 20.X.X.X:443
Referrer Policy: strict-origin-when-cross-origin
The remote address IP is that of the IP that i see for the Front End Web App when i go to Custom Domain in App Services