title: Blazor Authentication not working in Live but working in devolopment
body: <p>Using asp.net core default authentication that's working well in local machine in live publish and places in azure that's not working, error occured.</p>
  
  <p>asp.net core: 3.0 used</p>
  
  <p>Error screenshot
  <a href="https://i.stack.imgur.com/GmwD6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GmwD6.png" alt="**enter image description here**"></a></p>
  
  <p>appsetting.json </p>
  
  <pre><code>{
  
    "ConnectionStrings": {
      "DefaultConnection": "SERVER=servername;INITIAL CATALOG=catlogname;PERSIST SECURITY INFO=FALSE;USER ID=dbname;PASSWORD=****;MULTIPLEACTIVERESULTSETS=FALSE;ENCRYPT=TRUE;TRUSTSERVERCERTIFICATE=FALSE;CONNECTION TIMEOUT=30;"
    },
  
    "Logging": {
      "LogLevel": {
        "Default": "Information",
        "Microsoft": "Warning",
        "Microsoft.Hosting.Lifetime": "Information"
  
      }
    },
    "AllowedHosts": "*"
  }
  </code></pre>
  
  <p>launchsettings.json</p>
  
  <pre><code>{
    "iisSettings": {
      "windowsAuthentication": false,
      "anonymousAuthentication": true,
      "iisExpress": {
        "applicationUrl": "http://localhost:62632",
        "sslPort": 44336
      }
    },
    "profiles": {
      "IIS Express": {
        "commandName": "IISExpress",
        "launchBrowser": true,
        "environmentVariables": {
          "ASPNETCORE_ENVIRONMENT": "Development"
        }
      },
      "LabOrg": {
        "commandName": "IISExpress",
        "launchBrowser": true,
        "environmentVariables": {
          "ASPNETCORE_ENVIRONMENT": "Production"
        },
        "applicationUrl": "https://localhost:5001;http://localhost:5000"
      }
    }
  }
  </code></pre>