3
Password reset should not act as OTP
Source: supabase/supabase#13162 · opened by @dmudro
for email based accounts there is a '3 step instustry standard' password reset flow: 1. user has the option to submit a "forgot password" form where they detail their email address. easy in Supabase by calling [supabase.auth.resetPasswordForEmail]( 2. the user receives the password reset email 3. upon clicking on the {{ .ConfirmationURL }}(containing reset token) in the email, the user is presented custom form to change their password. this is all standard stuff and pretty much same with any identity provider using email / password based sessions. in Supabase, however, step 3 acts as OTP and redirecting the user with confirmationURL signs them in automatically and before they've changed their password. the same is true when validting the token via SDK manually on the client. hence this _password reset_ flow effectively works as _OTP_ which is not necessarily always desired. in my instance I do want the user to manually sign in after they've succe…
No pledges yet. Be the first to back this.
Comments
Similar requests
Handling the Password Reset for a user by Supabase itself.
2 votes · 0 comments
Handling the Password Reset for a user by Supabase itself.
7 votes · 0 comments
Feature request for Supabase Auth: Automatically invalidate OTP after multiple failed login attempts
12 votes · 0 comments
there is not information about email_change_token_new and email_change_token_current
2 votes · 0 comments
Reset Password Using OTP Wihtout any Links
4 votes · 0 comments
No comments yet.