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/