Supabase Auth: updateUser password needs to be authenticated again
The logged user cannot change the password in the account panel.
How to identify the source of the problem
Check security password change policy and see if the session has an actual identity confirmation.
Compare the result for the authorized and unauthorised user, project name and exact error code.
Repair steps
Realize the prescribed recovery process before updateUser instead of disabling the security.
How to Test Solution
The authenticated user changes the password and the acquired old session has limited capabilities.
Security and restrictions
Change permissions and scheme first on test data with backup. Do not put service role in your browser.