Help with 5.0.6 redirecting to /admin

very long story short… I blew up my old v4 that never quite got off the ground and started fresh with v5(0.5 to be exact). love the idea of the portal for many reasons, but it gave me the page not found issue for a regular test user.

luckily that page not found issue was fixed in 5.0.6, but now instead of a user being directed into the portal after login, they are redirected to //psu.domain.com/admin which they don’t have access to, and there isn’t a clear path for them to get back to the portal.

did i mess something up during config? if not, any clever ways to redirect users with just the ‘user’ role into the portal after login?

You can set the default route for a role, like user to /portal. This works for me but I can reproduce the issue where the User role is sent to the admin console, which they shouldn’t be. Portal would be a better default.

1 Like

ah, good to know! thanks!

unfortunately i’m unlicensed at the moment while i was building this up as a PoC, so that edit roles section is blocked for now.

at least i know there is a workaround when i get to that point. appreciate it!!

Hate to necro this, but the 5.0.7 redirect behavior seems a little buggy still. Rather than redirecting to “https://base.url/portal” after authentication success, when you leave the default route blank it redirects our users to “https://portal/”. Setting the default route to include the full path fixes the issue, but I doubt this is the intended behavior.