supabase / auth

A JWT based API for managing users and issuing JWT tokens
https://supabase.com/docs/guides/auth
MIT License
1.38k stars 338 forks source link

Add support for test email OTPs #901

Open mypalvikram opened 1 year ago

mypalvikram commented 1 year ago

Feature request

I'm currently using sign-in with email but sending the user an OTP. For testing, app submissions, and end-to-end tests, I would love a feature where we could specify an email and OTP combination in the dashboard that would log you in without actually sending you an email. When creating this pair, an auth user with that email would also be created for handling sessions.

This would be great for app submissions and UI testing for folks that have OTP as their only login method (like me).

kangmingtay commented 1 year ago

Hey @mypalvikram, thanks for creating this issue, this is definitely on our roadmap but the team will be prioritising some other features before this one.

kangmingtay commented 1 year ago

hey @mypalvikram, we're working on a way to make this possible for sms OTPs for now - https://github.com/supabase/gotrue/pull/1166

stay tuned!

mypalvikram commented 1 year ago

hey @mypalvikram, we're working on a way to make this possible for sms OTPs for now - https://github.com/supabase/gotrue/pull/1166

stay tuned!

Thanks for the update! 💪🏽

hf commented 7 months ago

SMS OTPs are fixed. The team will eventually work on adding email OTPs, until then feel free to submit a PR.