I have an Azure app service that has authentication enabled. If I try calling the GET /health endpoint on the App service without supplying the authorization token I get a 401 response as expected. I am able to generate the token successfully. If I call the GET /health endpoint with the AUTH token I get 500 error response back with an message Unable to download OpenID Connect configuration.
How can I fix this? How does an Azure App Service validate an AUTH token? Does it need connectivity to some other service to do that? Just asking cause things are tightly locked at my workplace, and I was wondering if it’s something to do with connectivity.