I have an app that uses JWT authentication based on this blog
Views are secured with @RolesAllowed
The app includes an email verification step. After a user clicks a link, a user’s role changes from ROLE_UNVERIFIED to ROLE_VERIFIED. This works, but only if the user logs out and reauthenticates. How do I get the app to recognize the new role “in place”? I think the issue is updating the JWT token.
Thanks in advance!