Has anyone here setup Umbraco 15 yet on an Azure app service hosted behind a an Azure Front Door implementation?
Our infrastructure terminates the SSL / DNS on the front door route, and routes the traffic to the correct app service over a private link, so no public access is permitted to the app service, and nor does it know about the public facing URL.
This setup works fine for Umbraco 13, but on 15 (And we noticed it on 14 as well), when you access the back office login page it performs a redirect, but this redirects to the azurewebsites.net URL rather than the actual URL (Or the azurefd.net domain on non production environments), and then the request fails as the azurewebsites.net URL isn’t publically available as all traffic is expected to be routed through the front door.
We’ve tried updating the config to set
CMS": {
"WebRouting": {
"UmbracoApplicationUrl": "<<url>>"
}
and
"Security": {
"AllowConcurrentLogins": false,
"BackOfficeHost": "<<URL>>",
}
But these changes have made no difference.
We also intermittently see the below error as well when accessing the login page.
error:invalid_request
error_description:The specified 'redirect_uri' is not valid for this client application.
error_uri:https://documentation.openiddict.com/errors/ID2043
Which I assume is also due to the missmatch of the AzureFD URL and the Azurewebsites URL.
Has anyone got Umbraco to play nicely on such a setup, or got any advice on any way we can achieve this?
Thanks
Andrew