Hi, I would like to redirect users to specific routes after login based on their roles.
I'm thinking about decoding the access token to get the user role and then redirect based on the role. /src/account/login/login.service.ts - ln194 Is there a way of getting the role from the access token?
Would you suggest another approach to achieve this?
Thanks, Rui