I have an ASP.net app with razor and AzureAD login created when creating the project.
It runs from VS with IISExpress and in local docker.
For now we want to run this app in a container instead of app services.
I have been through app registration, and applied redirect URI's. I know they are picking up because if I remove the localhost entries, I get an error when running in iisexpress/docker.
Have deployed to container registery and created a container instance and running with a public ip.
I have added (xxx123 is the fqn as provided by container instance overview)
https://xxx123.northeurope.azurecontainer.io
https://xxx123.northeurope.azurecontainer.io/signin-oidc
to the redirect uri's alongside the matching https://localhost equivalents.
Going to (non secure) http://xxx123.northeurope.azurecontainer.io I get the following message
AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '<tenant id>'.
Going to (secure) https://xxx123.northeurope.azurecontainer.io I get a chrome error message that the Site can't be reached. The connection was reset.
No other issues browsing other site.
Would be appreciated if I can at least get an idea if I should harass our Azure admins or if there are changes I need to make in code/deployment/container config.
Thanks
C
[1]: /answers/storage/attachments/88170-image.png