auth icon indicating copy to clipboard operation
auth copied to clipboard

Add support for test email OTPs

Open vikrvm opened this issue 2 years ago • 4 comments

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).

vikrvm avatar Jan 10 '23 16:01 vikrvm

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 avatar May 03 '23 14:05 kangmingtay

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!

kangmingtay avatar Jul 06 '23 03:07 kangmingtay

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! 💪🏽

vikrvm avatar Jul 06 '23 05:07 vikrvm

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

hf avatar Jan 19 '24 14:01 hf