Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support appHash for Twilio Verify in signInWithOtp #1091

Open
themightychris opened this issue Nov 30, 2024 · 0 comments
Open

Support appHash for Twilio Verify in signInWithOtp #1091

themightychris opened this issue Nov 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@themightychris
Copy link

themightychris commented Nov 30, 2024

This was requested in supabase/auth#1235 but got closed with a note that you can achieve it now with a custom send SMS hook—but it really doesn't need to be that complicated

When using Twilio Verify for SMS login, you have to use their built-in message templates which is what enables you to get up and running instantly without the big waiting period to get compliance cleared for sending custom SMSs. However this means that if you want to take advantage of autofill on Android you need to include your app's unique apphash signature in your request to Twilio Verify so that it can be appended to the SMS content

It would be wonderful if Supabase's signInWithOtp method in dart just had an optional parameter for appHash that would be passed through to the Twilio Verify API call using the existing twilio verify support instead of having to build it custom to take full advantage of twilio verify. Supabase's Twilio Verify integration is already awesome and a great way to get up and running quickly, and with this one small addition of a parameter to pass through we could achieve seamless login with it on Flutter apps

@themightychris themightychris added the enhancement New feature or request label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant