AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'c878d507-0666-4b02-aacb-46ec8b0d8506'.

Danijel Vilenica 1 Reputation point
2021-06-07T12:26:29.53+00:00

Request Id: 88825503-08b5-4774-b9db-c77564555300
Correlation Id: b8fddd10-e018-4659-baf9-578701ef1ed8
Timestamp: 2021-06-07T11:48:54Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'c878d507-0666-4b02-aacb-46ec8b0d8506'.

When user first tries to log in everything works fine. Redirect works fine and redirect uri is not the problem. But if I clear localstorage where i store msal info and go to a page that requires authentication. I'm redirected to login (which is fine) page and then i get this message.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,262 questions
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 23,976 Reputation points Microsoft Employee
    2021-06-07T22:21:59.43+00:00

    Hi @Danijel Vilenica , have you looked at this thread? Usually this issue occurs when redirect_uri doesn't match the reply url in the Portal. You said the redirect uri is not the problem, can you verify that the reply url matches?

    Best,
    James

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.