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

Viewed 2281

I have configured Active directory login for React application. I'm getting this error. I have registered my application in azure also.

Code written in authconfig.js file:

cpde]

1 Answers

I could see you've configured RedirectURI with "https://localhost:4200" from authconfig.js so wondering do you have same URL configured as Redirect URI in azure AD for registered application? This value must match exactly lets say if your code configured "http://localhost:4200" but in Azure AD you have replyurl as "http://localhost:4200" (without "S") then above error is expected.

enter image description here

More detail refer : https://docs.microsoft.com/en-us/troubleshoot/azure/active-directory/error-code-aadsts50011-reply-url-mismatch

Related