KazumiK
Convex Community8mo ago
12 replies
Kazumi

Hi all, I am building a nextjs (w

Hi all, I am building a nextjs (w typescript) project with convex auth and am implementing email/password signin-up flows. All is working well including creating users in the tables , sending verification codes via mail(resend), inputting them and getting them registered on convex tables. I have got a lot of flows to implement still. My question is I have app router and for instance I have /signup and /verify routes . When I router.push to /verify page after a successful registration of account then convex auth doesn't have access to user so verify route can't couple the code with user. What is the correct redirection method so that signup > enter verification code > totheprivateroute flow can be realized?
Was this page helpful?