Replies: 1 comment
-
don't use the |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the Pages configuration from next-auth (https://next-auth.js.org/configuration/pages) to redirect new users to a specific path on their first sign-in. However, I want to apply this redirection only if the user originally comes from the '/' path. If the user arrives from a different path, like profile/settings, I want to redirect them to that specific path instead of the default one. How can I do this properly?
Beta Was this translation helpful? Give feedback.
All reactions