Search code examples
djangoazurebackenddjango-authentication

aadsts50011: the reply url specified in the request does not match the reply urls configured for the application: 'App id'. localhost configuration


I Followed this document for setting up the Microsoft Auth system by stuck up with error aadsts50011 (here is azure portal URI) (here is my settings.py file) (here is django admin portal site)


Solution

  • When the app redirects away to login.microsoftonline.com you can copy the URL and look at the query parameters. One of those will be the redirect_uri. That should match what you have configured in the app registration.