How to pass the form value to the verification page? #11901
Unanswered
MauriceMarkslag
asked this question in
Help
Replies: 0 comments
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 there!
I am wondering how I should write logic that provides my
/verification
path with the email address passed in theauthentication
page form action. The user signs in according to the docs (with SendGrid). Next, it redirects to/verification
where I want to display a message including the email address.I tried to return
/verification?email=${user.email}
in the signIn callback, but it expects a boolean as return value, otherwise it doesn't send the email. Neither can I leverage the redirect callback as it only has the url and baseUrl as arguments.Any suggestions will be much appreciated! :)
I have noticed similar questions, but unfortunately they haven't been answered
Beta Was this translation helpful? Give feedback.
All reactions