Problems with CORS Response to preflight in dotnet core 3.1

Solution 1:

I discovered the issue, the app.UseHttpsRedirection() method requires https clients.

On Startup.cs at Configure method:

//app.UseHttpsRedirection(); <-- Commented this line

app.UseRouting();

app.UseCors();

app.UseAuthorization();