rough-rain-98513
11/29/2024, 8:19 AMbland-eye-99092
11/29/2024, 8:49 AMrough-rain-98513
11/29/2024, 9:54 AMbland-eye-99092
11/29/2024, 9:56 AMrough-rain-98513
11/29/2024, 10:02 AMrough-rain-98513
11/29/2024, 11:47 AMbland-eye-99092
11/29/2024, 11:50 AMrough-rain-98513
11/29/2024, 12:03 PMory.updateRegistrationFlow({
flow: flow.id,
updateRegistrationFlowBody: {
method: "code",
traits: { email: values.email },
csrf_token: values.csrf_token,
},
})
after this I get that such behaviour as I shared the image with you.
the problem i am having as promise is getting rejected still I am able to receive code on email. is wierd. I need to handle my next step to verify otp in the catch block. this is all happening in local env
I get code then I again update flow with code i recieved on mail. then api response with success .rough-rain-98513
11/30/2024, 9:38 AMory.updateRegistrationFlow({
flow: flow.id,
updateRegistrationFlowBody: {
method: "code",
traits: { email: values.email },
csrf_token: values.csrf_token,
},
})