79189597

Date: 2024-11-14 16:18:07
Score: 2.5
Natty:
Report link

Thanks for the A2A. @A_B : I have gone through both of the microservices code and seems in RouteValidator in the line : public static final List openApiEndpoints = List.of("/api/auth/v1/register","/api/auth/v1/token","/eureka","/api-docs");

just add "/api/auth/v1/"

public static final List openApiEndpoints = List.of("/api/auth/v1/","/api/auth/v1/register","/api/auth/v1/token","/eureka","/api-docs");

As 403 forbidden error indicates : A 403 Forbidden Error occurs when you do not have permission to access a web page or something else on a web server

I hope you are aware of this error code , since the request can't even hit the controller itself thus in sysout or logger info you are not getting display for /getRolesByUsername.

For your reference please check for the error code: https://www.howtogeek.com/357785/what-is-a-403-forbidden-error-and-how-can-i-fix-it/

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @A_B
  • Low reputation (1):
Posted by: Sajal Saha