Email Provider redirect to callbackURL after verification not working #2585
Unanswered
bradbarrow
asked this question in
Help
Replies: 1 comment
-
In case it is a new user, check 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.
-
Hi folks, thanks in advance for any assistance.
Context
[email protected]
[email protected]
Email Provider
Steps
User visits
/landing-page
User types their email address and submits the form
We call
signIn
:We don't redirect, we show a message saying "Check your email to verify"
The Issue
User follows the link in their email
User gets created, session gets populated
User is redirected to the home page when I expected them to be taken to /landing-page
What I have tried
I've tried adding an explicit
callbackUrl
to thesignIn
callI've checked all the values of
NEXTAUTH_URL
etcIs there any way to achieve this? Redirecting the user back to the page that initiated a non-redirect
signIn
when they follow the email verificationBeta Was this translation helpful? Give feedback.
All reactions