NextAuth manual email verification

Im trying to implement manual email verification. So I created a VerificationToken with the identifier and token but when going to the link I'm always getting an error.
http://localhost:3000/api/auth/callback/email?callbackUrl=http%3A%2F%2Flocalhost%3A3000%2Fapp%2Fdashboard&token=rbaykgmrwek9nhpocro27emr1uobwq5axonlq4ykarg080jj9byjxub5bt7ztj2i&email=[EMAIL]
http://localhost:3000/api/auth/callback/email?callbackUrl=http%3A%2F%2Flocalhost%3A3000%2Fapp%2Fdashboard&token=rbaykgmrwek9nhpocro27emr1uobwq5axonlq4ykarg080jj9byjxub5bt7ztj2i&email=[EMAIL]
Am I not doing it correctly? Dont I just need to create a verification token in the database and replace the query params?
0 Replies
No replies yetBe the first to reply to this messageJoin