title: Azure AAD - AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application
body: <p>I am pulling my hair out with this one.</p>
  
  <p>I have a .Net Core 2.1 application on the back-end with Angular 7 in the front.</p>
  
  <p>I've already done all the difficult work of getting integration with Azure Active Directory up and working, and it is properly connecting me to AAD, asking for credentials, then at the last stage I get:</p>
  
  <blockquote>
    <p>AADSTS50011: The reply url specified in the request does not match the
    reply urls configured for the application</p>
  </blockquote>
  
  <p>I am testing this locally for rapid development and I have my callback set to:</p>
  
  <p><a href="https://localhost:5001/azureauth/auth" rel="noreferrer">https://localhost:5001/azureauth/auth</a></p>
  
  <p>This is directly in the Azure Portal:</p>
  
  <p><a href="https://i.stack.imgur.com/o3jy5.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/o3jy5.jpg" alt="enter image description here"></a></p>
  
  <p>This controller method currently does nothing but hit a break point, which if I hit it manually in the browser properly breaks in the controller method.</p>
  
  <p>Azure won't call me back on it after a successful AD login.</p>
  
  <p>What am I missing?</p>
  
  <p><strong>Edit</strong> I noticed that the query string when connecting to AAD has the following in the "redirect" portion, which does not match what I have in Azure as it does not have the path it's just localhost:5001 ... does this matter?</p>
  
  <p><a href="https://i.stack.imgur.com/xH6YC.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/xH6YC.jpg" alt="Redirect Path"></a></p>
  
  <p><strong>OpenID Settings</strong></p>
  
  <p><a href="https://i.stack.imgur.com/yT5hw.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/yT5hw.jpg" alt="OpenID Settings"></a></p>
  
  <p>/azureauth/auth is my controller and my method.</p>
  
  <p><a href="https://i.stack.imgur.com/sfIIS.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/sfIIS.jpg" alt="Error"></a></p>