Phone provider with SMS sending hook always raises errors
I implemented the Send SMS Hook for the regional sms providers.
In our Fullter app, the following steps to sign in with OTP and resend OTP always raise errors:
In our Fullter app, the following steps to sign in with OTP and resend OTP always raise errors:
- The first time, call
signInWithOtpto request an SMS OTP, it works successfully. - Verify OTP with
verifyOTP(phone, token, type: OtpType.sms);always return an errormessage: Token has expired or is invalid, statusCode: 403, errorCode: otp_expired). - Try to resend OTP with
signInWithOtpagain. - Repeating the verification in step 2 results in the same error.