You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The verifyOTP method requires to always have either email or phone to be not null. When trying to use the the method with OtpType.recovery and specifying an email I receive AuthException(message: Only the token_hash and type should be provided, statusCode: 400, errorCode: validation_failed).
My workaround is to specify an empty string for email.
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
The
verifyOTP
method requires to always have eitheremail
orphone
to be not null. When trying to use the the method withOtpType.recovery
and specifying an email I receiveAuthException(message: Only the token_hash and type should be provided, statusCode: 400, errorCode: validation_failed)
.My workaround is to specify an empty string for email.
To Reproduce
Steps to reproduce the behavior:
This doesn't work with exception from backend.
Exception:
This doesn't work with exception from supabase flutter client:
Expected behavior
Correct checking of which OtpType requires which parameters.
The text was updated successfully, but these errors were encountered: