I am running an ASP.NET MVC application on Azure App Service with a Front door.
The front door is setup with a custom domain and points to myapp.azurewebsites.net as backend.
Going to mysite.mydomain.com shows the expected page, but the host records myapp.azurewebsites.net as the request url instead of mysite.mydomain.com.
This issue affects Google external login which uses PathString to set my returnurl to myapp.azurewebsites.net/signin-google and my logging which uses Request.Url to login the requested page.