AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '8ff48ac1-1ddf-479d-ac5a-5db407c70c50'.

bbolt049 1 Reputation point
2021-04-16T17:05:55.93+00:00

I followed the officialconfigure-spring-boot-starter-java-app-with-azure-active-directory tutorial but I can't seem to get it to work. I've confirmed the redirect url is exactly as written with the same security controller.

I've also , reviewed other issues, and it feels close but, as mentioned, the tutorial what was provided -- so it should work.

Please let me know if you need any other information.

Request Id: a6cb6d0d-9a3a-4bd3-a2b7-c16c053c7b01
Correlation Id: 9f74d074-df2c-4a73-8c79-31aa7442a427
Timestamp: 2021-04-16T16:54:36Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '8ff48ac1-1ddf-479d-ac5a-5db407c70c50'.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,454 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,306 Reputation points
    2021-04-16T17:12:04.113+00:00

    Hi @bbolt049 · Thank you for reaching out.

    Based on the correlation id that you have shared:

    The reply url in the authentication is: http://localhost:8080/login/oauth2/code/

    And the reply url registered in the app
    is: http://localhost:8080/login/oauth2/code/azure

    To resolve the issue, make sure the both reply urls are matching.

    -----------------------------------------------------------------------------------------------------------

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