79110682

Date: 2024-10-21 15:19:02
Score: 1
Natty:
Report link

the only stupidest problem was that I had written UseCors() after UseAuthentication() and UseAuthorization() methods and after I changed the order like this in config files everything was fixed. I almost waste 2 days for this problem. which was of course my fault.

    app.UseCors("AllowSpecificOrigins");

    app.UseAuthentication();

    app.UseAuthorization();
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: b. tsutskiridze