Replies: 1 comment
-
Hello, Did you find a clean solution? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’ve been trying this for a while now and I can’t seem to find a clean working solution. I want to redirect after signing a user in but the dashboard route depends on the users role and username which is stored in the session which I’ve configured in callbacks. So if a user signs in they’re redirected to /[role]/u/[username], both properties that live on the session.user. Does anyone have a solution?
Beta Was this translation helpful? Give feedback.
All reactions