title: Azure Ad B2C IDX20804: Unable to retrieve document from
body: <p>I am having an issue, I'm not sure why I'm getting this, Basically, I'm trying to get Azure AD B2C working, this works on my local machine and if I try it on Azure free web hosting it works, however on the on the web host I'm using it doesn't I don't know if this is because of how web hosts work, or whether its something else?</p>
  
  <p>The Domain used has been partially removed for security, but the core errors are still there:</p>
  
  <p><a href="https://i.stack.imgur.com/RSm92.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RSm92.png" alt="enter image description here"></a></p>
  
  <p>Also I'm using .Net Core as the backend, And when I type the url into my browser it works, just no on the hosting provider.</p>
  
  <p>//Startup.cs</p>
  
  <pre><code>services.AddAuthentication(AzureADB2CDefaults.AuthenticationScheme)
                  .AddAzureADB2C(options =&gt; Configuration.Bind("AzureAdB2C", options));
  </code></pre>
  
  <p>//apsettings.json</p>
  
  <pre><code>  "AzureAdB2C": {
      "Instance": "https://.b2clogin.com/tfp/",
      "ClientId": "clientid",
      "CallbackPath": "/signin-oidc",
      "Domain": ".onmicrosoft.com",
      "ClientSecret": "",
      "SignUpSignInPolicyId": "B2C_1_SiUpIn",
      "ResetPasswordPolicyId": "B2C_1_PwdReset",
      "EditProfilePolicyId": "B2C_1_ProfileEdit",
  }
  </code></pre>