83
Option to require password for updateUser()
Source: supabase/supabase#18820 · opened by @janglad
Problem I'm relatively new to web dev but one thing I've really internalized is "never trust anything on/from the client". Using Supabase it's to be expected that you're exposing the Supabase client on the client side using the anon/public key. In other words, there always is a possibility that a malicious user has access to the Supabase client. This combined with RLS policies etc can make for a great experience, but I am somewhat worried about the implications of this on impactful functions like updateUser(). As of right now, there doesn't seem to be any way to require the current user password to be included and checked before updating data that could lock a user out of their account. The closest option is requiring a fresh session, which still has a margin of 24 hours. What I'd want Make an option in the Supabase dashboard to require the current user password to be present and checked when calling updateUser(), or alternatively provi…
No pledges yet. Be the first to back this.
Comments
Similar requests
Reauthentication on password change: Make session age condition configurable
2 votes · 0 comments
Handling the Password Reset for a user by Supabase itself.
2 votes · 0 comments
Handling the Password Reset for a user by Supabase itself.
7 votes · 0 comments
Password reset should not act as OTP
3 votes · 0 comments
Be able to store phone number without SMS provider
2 votes · 0 comments
No comments yet.