question

StellaSong-2583 avatar image
2 Votes"
StellaSong-2583 asked PatrickSimon-2734 commented

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

14119-capture.png


Request Id: 6deb7bc2-fc9f-4233-9f7f-05861222c100
Correlation Id: e14c35a4-c834-42c1-82ec-c78276447d71
Timestamp: 2020-07-29T03:05:44Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '4b233688-031c-404b-9a80-a4f3f2351f90'.


azure-ad-single-sign-onazure-ad-pass-through-authentication
capture.png (24.9 KiB)
· 3
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.

I am getting the same error. I've looked at my AAD registration and cannot figure out what reply its the mismatch. My troubleshooting data is:
Request Id: 2f4a2ca5-c325-4ee1-9bc0-285f8cc91200
Correlation Id: cd546ed7-5ed3-4316-9359-0cf87a6ce2ca
Timestamp: 2020-11-14T16:58:39Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '616bc978-17a0-45a3-8cec-0cbb0cc9305c'.

I am following and identity Server tutorial, the instructions that is provided in the tutorial is to use a return Url of http://localhost:5000/signin-oidc.


0 Votes 0 ·

Getting the same issue

Request Id: 508d2b91-de43-4156-962f-d3a014d94b00
Correlation Id: fda40059-c976-4c14-8839-12b912d2b6ce
Timestamp: 2021-05-10T00:56:34Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'edb8d027-2929-4349-8be7-85138b36c96b'.

Can anyone help?

0 Votes 0 ·

I am getting the exact same issue.

Apart from the state URL parameter, the Redirect URI IS Exactly the same as the reply URL specified in the request.

{
"error": "invalid_client",
"error_description": "AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'd2a7d5fd-b25d-4391-9593-c3fbafd49040'.\r\nTrace ID: 97ed8aff-262a-4855-8f62-11b9c4cad100\r\nCorrelation ID: 192c2fc8-ec6f-4a6c-9cd0-657594b2f07f\r\nTimestamp: 2021-09-13 01:47:55Z",
"error_codes": [
50011
],
"timestamp": "2021-09-13 01:47:55Z",
"trace_id": "97ed8aff-262a-4855-8f62-11b9c4cad100",
"correlation_id": "192c2fc8-ec6f-4a6c-9cd0-657594b2f07f",
"error_uri": "https://login.microsoftonline.com/error?code=50011"
}

0 Votes 0 ·
NathanielBujalance-8006 avatar image
0 Votes"
NathanielBujalance-8006 answered

I'm having the same issue for one specific environment/domain, but not with the URLs associated with other URLs.

Request Id: 140a14cc-9099-4576-af91-9a8ebdf8d501
Correlation Id: da906a46-3217-4dd5-a992-f2a5f39d0ba7
Timestamp: 2021-05-02T20:22:16Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '79be0823-bf61-4d46-9457-e75fa3067d2c'.

If anyone from MS could analyse the above, I'd appreciate it very much.

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.

NgaManning-1860 avatar image
0 Votes"
NgaManning-1860 answered MuthuTheerthan-7648 edited

I ran into this issue too with an MVC app on .Net5. I'm using
Microsoft.AspNetCore.Authentication.AzureAD.UI
Microsoft.AspNetCore.Authentication.JWtBearer
Microsoft.AspNetcore.Authentication.OpenIdConnect

It turns out, Microsoft adds these ".auth/login/aad/callback " after the base URL of the Azure web app. Adding https://mybase-url.com/.auth/login/aad/callback to the list of Redirect URIs in the AD App Registration fixes the issue for me.


· 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.

@NgaManning-1860 Thanks for the fix. its woks fine after adding https://mybase-url.com/.auth/login/aad/callback

0 Votes 0 ·
NabilHamdi-1765 avatar image
0 Votes"
NabilHamdi-1765 answered NabilHamdi-1765 edited
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.