Password reset state should be persisted in the auth token #20894
Unanswered
dsl400
asked this question in
Feature Requests
Replies: 1 comment
|
I am having the same issue, but I am using client.auth.exchangeCodeForSession. Not ideal behavior for the email password login to have a "secret" OTP bypass. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
After clicking on the link received via email for password reset the
onAuthStateChangeemits two events,SIGNED_INandPASSWORD_RECOVERY.If the page is refreshed the
PASSWORD_RECOVERYevent is no longer emitted but the user is signed.This means that the password reset link acted as a one time password.
I explored all the fields in the provided access token but I could not find any field that indicates that this token is only meant to be used for resetting the password.
All reactions