I have an app service which I have secured via Active Directory Authentication
I have a client application registered and am using the MSAL library and the B2Clogin domain
From my Xamarin app, the login flow works perfectly and returns a token I can use for API
I now wish to add a web front end to my azurewebsites domain
However, whenever I try and access mydomain.azurewebsites.net, at the point it should login, it simply loops never resolving
I have gone into Run User Flow section of my B2C directory and confirmed they all work when run
However, when comparing the URLs side by side - that is the URL in the Run User Flow vs the one it resolves to when you hit the azurewebsites.net end point - I notice the URL redirect which is triggered when you hit the azurewebsites.net end point is not the same
I suspect it might have something to do with the Issuer URL, but otherwise am completely stuck - can anyone help pls?