title: ASP.Net redirecting to local host after authentication
body: <p>I just created a webform that is hosted in my Azure subscription. I set it up with authenication via my works Azure directory for authenticating users. In debug this works fine and I am able to login with my work credentials and then view the website via local host. </p>
  
  <p>I have published this to my Azure and it says it is running and working fine. So when I try to connect to the website it continuously redirects me to the localhost resulting in an error. </p>
  
  <p>I have checked the web config.</p>
  
  <p><a href="https://i.stack.imgur.com/6jmPF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6jmPF.png" alt="enter image description here"></a></p>
  
  <p>Here is the google network chain of events when it occurs. </p>
  
  <p><a href="https://i.stack.imgur.com/NCybf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NCybf.png" alt="enter image description here"></a></p>
  
  <p>I am really lost as to what is wrong and what I need to do to fix this so any help would be greatly appreciated. I'm sorry I can't offer more but I don't even know what is wrong to begin with or where to look. Is there some setting in Azure that I need to add the website too?</p>