Join Discord
Powered by
How can the user change the password ( lets say to...
# help
s
Señor Bruno
01/30/2022, 9:12 PM
How can the user change the password ( lets say to make it stronger) without resetting it first?
g
garyaustin
01/30/2022, 10:36 PM
There evidently is work underway to support this....maybe:
https://github.com/supabase/supabase/discussions/4773
Then there is this link I participated in to create a function to do that with encrypt extension:
https://github.com/supabase/supabase/discussions/4042
a
anothercoder
01/31/2022, 6:52 AM
Not sure if this works
https://supabase.com/docs/reference/javascript/auth-update#update-password-for-authenticated-user
s
Señor Bruno
01/31/2022, 10:01 AM
I will try, but is it not a security risk to not ask for the old password?
a
anothercoder
01/31/2022, 10:58 AM
Depends if u think the access token is by itself sufficient
anothercoder
01/31/2022, 10:58 AM
Yeah, most apps ask for old password too
Previous
Next