FeatureFuel
3

Password reset state should be persisted in the auth token

Source: supabase/supabase#20894 · opened by @dsl400
After clicking on the link received via email for password reset the onAuthStateChange emits two events, SIGNED_IN and PASSWORD_RECOVERY.
If the page is refreshed the PASSWORD_RECOVERY event 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.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests