title: Migrating from 2.2 .Net core to 3.0 Cors error
body: <p>When Migrating API from 2.2 .NET Core to 3.0 i am facing error with the below code when running the API.</p>
  
  <p>public static void Configure(IApplicationBuilder app)</p>
  
  <p>{</p>
  
  <p>app.UseCors(builder => builder</p>
  
  <pre><code>                  .WithOrigins(ConfigurationSettings.CORSAllowedSites)
                    .AllowAnyMethod()
                    .AllowAnyOrigin()
                    .AllowAnyHeader()
                    .AllowCredentials()
                    );
  </code></pre>
  
  <p>}</p>
  
  <p>**Error:The CORS Protocol does not allow specifying a wildcard origin and credentials at the same time.
  Configure Cors policy by listing individual origins if credentials need to be supported **</p>