supabase / auth-js

An isomorphic Javascript library for Supabase Auth.
MIT License
356 stars 160 forks source link

"Test Phone Numbers and OTPs" does not work with Twilio #787

Closed florentpergoud closed 11 months ago

florentpergoud commented 1 year ago

Bug report

Describe the bug

Test Phone Numbers and OTPs field does not work while setting OTP with Twilio as SMS provider

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

Go to In Authentication > Providers > Phone :

Expected behavior

When calling signInWithOTP() with the OTP code set in "Test Phone Numbers and OTPs" , the OTP code should be accepted.

Screenshots

System information

Additional context

No additional context

florentpergoud commented 1 year ago

https://github.com/orgs/supabase/discussions/5358#discussioncomment-6960828

azlekov commented 1 year ago

I think I found the issue in GoTrue implementation. I have opened an issue there: https://github.com/supabase/gotrue/issues/1252

J0 commented 11 months ago

Hey team,

As mentioned in the linked issue this should be patched. Feel free to reach out if there are still issues though.

Thanks!