I have a springboot application with 4 microservices, eureka server and a centralised API gateway. I have performed authentication using jwt token at api gateway and now i want to implement role based security on methods which are present in microservices other than gateway. I have tried to use @PreAuthorize but its not working out of the gateway. Is there any solution to achieve this type of security ?
Asked
Active
Viewed 208 times
4
-
IM facing similar challenge - what did you end up doing after all? – Nikki Feb 01 '21 at 16:53