flutter-auth-ui
flutter-auth-ui copied to clipboard
Instant sign in when password reset
Bug report
Describe the bug
In the example given clicking on password reset and entering an existing email, one is instantly logged in without having to click on the link in the email or entering any password.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Click on 'Forgot Password? Click here'
- Type in email of existing account
- Click on 'Send Reset Email' => One is logged in instantly
Expected behavior
- Click on 'Forgot Password? Click here'
- Type in an existing email
- Click on 'Send Reset Email'
- Click on Link in Reset Email
- Get redirected to Password Reset screen
- Get signed in or get redirected to sign in screen to type in new password
I can't reproduce this. Maybe you are already logged in? Can you try with logging out before?
I'm going to close this as Supabase does not have an option to sign-in with only an email address without clicking on the link. Agreeing with dippa-1 here, there might be a chance that you were already signed in.