FeatureFuel
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.

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