ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseโ€ข4y agoโ€ข
12 replies
Bob

auth.updateUser vs auth.admin.updateUserById

I'm a bit wondered about the documentation of the above two functions. For admin.updateUserById it says that auth.users.user_metadata can only be modified by the service role. However, in auth.updateUser it is also possible for the user to modify auth.users.user_metadata. Is this an error in the documentation (and should be fixed) or do I understand something wrong here?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

auth.updateUser not working
SupabaseSSupabase / help-and-questions
13mo ago
NodeJS Backend - updateUserById
SupabaseSSupabase / help-and-questions
4y ago
Slow auth actions under load (generateLink, verifyOtp, updateUserById)
SupabaseSSupabase / help-and-questions
4y ago
updateUser error
SupabaseSSupabase / help-and-questions
4mo ago