Bad Gateway running ASP.net Core app in Kubernetes and Auth0

Can you try configuring ASP.Net Core to use the load balancer’s forwarded-for headers as explained in this response?