I'm facing issue with the reply URL when authenticating on an Azure website. Everything works well when logging in normally, but it generates the "reply URL" error when logging in using some other pages.
As an example, using "https://xxxxx.azurewebsites.net/" works well, but using "https://xxxxxx.azurewebsites.net/xxxxxxxx/" returns the following error:
AADSTS50011
: The reply url specified in the request does not match the reply urls configured for the application: 'XX2782c9-XXXX-XXXX-9789-XX750058XXXX'.
I have also tried using the instructions from Microsoft’s documentation on configuring the reply URL settings.
It should work with the both reply URLs, however.
I reproduce your problem. When you change reply url from https://xxxxx.azurewebsites.net/
to https://xxxxx.azurewebsites.net/xxxxx
and try at once, it will get this error.
Just wait for several minutes and try again it will work fine. If you still have problem, please feel free to let me know.
You could refer to this article to send the sign-in request.