title: Azure - Custom Domain with Oauth Redirect Setup
body: <p>I prefer reading questions when they are bullet pointed to explain the setup.</p>
  
  <ul>
  <li>I have an azure hosted python/Flask webapp. E.G. <a href="http://example.azurewebsites.net" rel="nofollow noreferrer">http://example.azurewebsites.net</a></li>
  <li>Have setup the custom domain which is https. E.G <a href="https://mycustom.com" rel="nofollow noreferrer">https://mycustom.com</a></li>
  <li>Website work fine (occasionally pages are getting redirected back from mycustom.com/login, to example.azure.net/login - which I don't know how to fix).</li>
  <li>Now, I would like to use Oauth for a Facebook login, but the login page which goes to the Facebook authentication login page is using <a href="http://example.azurewebsite.net" rel="nofollow noreferrer">http://example.azurewebsite.net</a> which Facebook no longer allows. </li>
  </ul>
  
  <p>Is this an issue with my Azure settings or domain settings (godaddy) or something else?</p>
  
  <p>I been searching for sometime but cannot find a solution,</p>
  
  <p>Any insights appreciated,</p>