Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "TSG"

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

Showing 1 to 1 of 1 entries