You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add a forgot password functionality to my web app. I can send a password recovery link to user but in order to update user I need user token.
The text was updated successfully, but these errors were encountered:
Thanks for the reply, my problem was with Auth.UpdatePassword function. I wrote a js script to fetch access token from the url and write it into a hidden input field. Then I could fetch the token after post request but when I try to change the password UpdatePassword throw error as empty string so that I couldn't figure out what the problem was. I solved the problem by sending request to supabase directly. I think UpdatePassword function should return readable errors.
I want to add a forgot password functionality to my web app. I can send a password recovery link to user but in order to update user I need user token.
The text was updated successfully, but these errors were encountered: