Convex Auth: react-native expo OTP throws Uncaught Error: Could not verify code
convex auth in my react-native expo. I'm trying to implement authentication with OTP. After having followed the documentation here https://labs.convex.dev/auth/config/otps, I, then, follow the demo project here
https://github.com/get-convex/convex-auth-example/blob/main/src/auth/SignInFormPhoneCode.tsx
Now, because in my use case I'm not using
twilio to send OTP sms, I have to implement my custom solution, following above example.First here, I have implemented my custom sms OTP provider:
This provider works fine. It correctly sends the sms otp.
Second, here I implement my custom "verify" function:
