jwt-security-example icon indicating copy to clipboard operation
jwt-security-example copied to clipboard

How roles will work here?

Open rvashishth opened this issue 7 years ago • 1 comments

I have added @PreAuthorize("hasAnyRole('USER')") in HelloController.

Even now if i create token with any user role, still hello controller is returning the result.

rvashishth avatar May 23 '18 19:05 rvashishth

Hey were you able to figure it out?

rohitkrishna094 avatar Dec 15 '18 22:12 rohitkrishna094