Skip to content

Verification code loop #50

Discussion options

You must be logged in to vote

Hey All I was able to solve this issue,

It seems the documents for the api is not updated for verification flow.

This below passes verification and doesn't not resend email (assuming the code is correct and flow is not expired).

   const verify = {
           flow: data.flowId,
           updateVerificationFlowBody: {
               method: "code",
               email: "[email protected]",
               csrf_token: data.csrf,
               code: data.code
           },
       }

       const verifyUser = await frontend.updateVerificationFlow(verify,{
           withCredentials: true,
       } );

Came to the answer after going over recovery flow which matches the above when completing. To…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kmherrmann
Comment options

Answer selected by Big-Brother-Man
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants