© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3mo ago•
27 replies
bighead

Setting a New Password for Non-Authenticated Users

PostgREST🟢SQL
I am trying to set a new password for a user who is not currently authenticated. I couldn't find any information on this in the documentation https://supabase.com/docs/reference/javascript/auth-updateuser.

updateUser
updateUser
works only for an authenticated user, but in my opinion, it is not safe to automatically log in the user immediately after they click the "reset password" link sent to their email.

What is the recommended approach for updating the password for non-authenticated users?

Thank you.
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

Checking users password
SupabaseSSupabase / help-and-questions
13mo ago
signInWithOtp not working with strongest Password Requirements (for new users).
SupabaseSSupabase / help-and-questions
3y ago
Create a dummy test authenticated users during dev
SupabaseSSupabase / help-and-questions
4y ago
Next.js protect login page from authenticated users
SupabaseSSupabase / help-and-questions
4y ago