Auth/nextjs: The onEmailVerify
fails with no pkce verifier
when resending the verification email.
#906
Labels
onEmailVerify
fails with no pkce verifier
when resending the verification email.
#906
Describe the bug
The
emailpassword/verify
route handler expects pkce verifieredgedb-js/packages/auth-nextjs/src/shared.ts
Line 202 in a8f862e
but the
emailPasswordResendVerificationEmail
action never sets it.Expected behavior
the
onEmailVerify
should succeed with theemailPasswordResendVerificationEmail
server action.Versions (please complete the following information):
2.0
): 4.5+28216a12.0
): 4.1.0+127aeb9"@edgedb/auth-nextjs": "0.2.0-beta.0"
Additional context
A similar action -
sendPasswordResetEmail
is setting the verifier, so the fix should be analogicaledgedb-js/packages/auth-nextjs/src/app/index.ts
Line 103 in a8f862e
The text was updated successfully, but these errors were encountered: