Situation:
- Blazor Server running in an app service
- Azure AD B2C used for authentication
- Azure Frontdoor is used to map custom domain to app service and provide WAF policies etc
Problem:
- Authentication not working because wrong redirect url is being constructed https://myapp.azurewebsites.net instead of https://myapp.mydomain.com
- Various other features are not working because NavigationManager.BaseUri is also pointing to the wrong url instead of my own domain
How do I get the app service behind the Azure frontdoor to work.