signInWithOtp returns weak password error
I'm attempting to setup an OTP login (email only), but for some reason it always returns a "weak password" error, which is odd since OTP shouldn't have any password at all.
Here's my code:
Where
Here's the error I get:
I've confirmed it's calling the OTP endpoint (https://{PROJECT_ID}.supabase.co/auth/v1/otp?redirect_to=http%3A%2F%2Flocalhost%3A4200%2Fproduct%2Fwoot), so it's definitely calling the correct method.
Any suggestions on what might be wrong? Thanks!
Here's my code:
Where
this.#client is the supabase-js clientHere's the error I get:
I've confirmed it's calling the OTP endpoint (https://{PROJECT_ID}.supabase.co/auth/v1/otp?redirect_to=http%3A%2F%2Flocalhost%3A4200%2Fproduct%2Fwoot), so it's definitely calling the correct method.
Any suggestions on what might be wrong? Thanks!