79347440

Date: 2025-01-11 02:44:33
Score: 2.5
Natty:
Report link

The solution can be found at

JWT bearer token Authorization not working asp net core web api

Further down in Program.cs I had

// This is the correct order
app.UseAuthentication();
app.UseAuthorization();

In the wrong order.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Bill Haack