Hello! I’ve encountered an issue that may come up during a project of mine.
Lets say i have 3 roles in my auth0, X, Y and Z. In my vue app i have the homepage “/” path, where i log in.
After the login, i want to direct to different routes, depending on the role, so lets say i log in as role X, i want to go to “/Xhome”, and with Y, go to “/Yhome” and so on.
Hi there @kaptenkeps! Have you had any luck progressing with this?
It sounds like you may want to add user roles as custom claims to tokens and make routing decisions based on those. This can be achieved via an Action which will add the user’s role(s) as claims to an access/id token. This is typically a part of RBAC where roles group a set of permissions, but it seems this may work in this case as well.