79299275

Date: 2024-12-21 10:58:59
Score: 1.5
Natty:
Report link

Problem solved. Error was created because of order in Program.cs file, correct order is:

app.UseHttpsRedirection();
app.UseCookiePolicy();
app.UseRouting();
app.UseCors("AllowVueApp");
app.UseAuthentication();
app.UseAuthorization();
app.UseSession();
app.MapControllers();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Hiroco