79250448

Date: 2024-12-04 09:02:02
Score: 1.5
Natty:
Report link

I've found the solution. The problem was silly, because while accessing /api/auth/login I was adding "Authentication" header. Because there was incorrect authentication data, CustomAuthenticationFilter was throwing exception and I got unauthorized. Sending request without "Authorization" header fixed problem. Of course for secured endpoints this header is required.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Olek