question

shiroy-5335 avatar image
0 Votes"
shiroy-5335 asked sikumars commented

AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application

Hi,
We built our project and successfully ran it locally, however while trying to deploy it, we are continuously getting the error message like "AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '7e5767e2-680a-4b9d-8e6e-17097ce6f204'." Could anyone please tell us how to check the actual redirect url? Thank you so much!

Request Id: e8166891-4e29-4fd7-ac9d-3d1f63555800
Correlation Id: 743513b8-380b-4d0c-97e6-ccf85936adcc
Timestamp: 2021-04-01T14:06:54Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '7e5767e2-680a-4b9d-8e6e-17097ce6f204'.

azure-active-directory
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Just checking in to see if the below answer helped. If this answers your query, please don’t forget to click "Accept the answer" and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.
Thanks,

0 Votes 0 ·
amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered amanpreetsingh-msft commented

Hi @shiroy-5335 · Thank you for reaching out.

Based on the request ID,

  • The reply url in the authentication request is: http://bexxxxxxxbe.azurewebsites.net/login/oauth2/code/azure

  • The reply url (Redirect URI) registered in the application with id "7e5767e2-680a-4b9d-8e6e-17097ce6f204" is with HTTPS and not HTTP.

To resolve the issue, update the application code to use reply url with HTTPS rather than HTTP.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @shiroy-5335 · Just checking if you had a chance to test it out.

0 Votes 0 ·
sikumars avatar image
0 Votes"
sikumars answered

Hello @shiroy-5335,

Thanks for reaching out.

I would request you to refer the steps mentioned in this post: https://docs.microsoft.com/en-us/answers/questions/270056/aadsts50011-the-reply-url-specified-in-the-request-17.html

Those steps would help you resolve this issue.

Regards,
Siva Kumar Selvaraj


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.