hey,
i'm building an app using NextJs and i have 2 admin dashboards, one for users and another for administrators. I'm trying to redirect the user on login to their respective dashboards based on their 'role'. No idea how to go about this considering the
context
doesn't have a property to get the user role.
any ideas?
p.s. backend is using NestJs