Getting otp_expired error when running verifyOtp
Hi everyone!
I've been hitting my head on a wall when trying to understand why this happens:
I have created a password less 6 digit login flow for both new users and existing ones following what I think is the right approach.
I can't see in the logs any explanation about the reason of this expiry or invalidity so I find myself completely unable to trace the cause of this. I know it must be something I am missing but I am really in the dark here
Can someone lend me a hand? Many, many thanks in advance!
I've been hitting my head on a wall when trying to understand why this happens:
I have created a password less 6 digit login flow for both new users and existing ones following what I think is the right approach.
- Users enter their email addresses and click a button, the following is executed in my client code:
- They correctly get created if not existing
- They correctly receive an email with a 6 digit token
- Then they introduce it and the following is executed
- This returns always
I can't see in the logs any explanation about the reason of this expiry or invalidity so I find myself completely unable to trace the cause of this. I know it must be something I am missing but I am really in the dark here
Can someone lend me a hand? Many, many thanks in advance!