Add updateUserById (Auth, server only) for parity with JS features
scanrsvp opened this issue · 2 comments
Hello.
I'd like to request the addition of the update_user_by_id method for parity with the JS client.
Is your feature request related to a problem? Please describe.
The gotrue-py
client is missing a few methods which would be immensely helpful; one of which is updateUserById
. While this (gotrue-py) client does have the update_user
method available, this method relies on a JWT and the RLS system for identifying the user to be updated. The JS client contains server-only methods which rely on the service_role
keys to operate, and updateUserById
is one such important method. This method is vital for the administration of users by admin users and system processes.
Describe the solution you'd like
I would simply like to request that this method be added.
Describe alternatives you've considered
There are no alternatives, short of constructing the endpoint call manually, which defeats the purpose of using a client.
Thanks.