ยฉ 2026 Hedgehog Software, LLC

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

Create user with supabase.auth.admin.createUser without password

When using
supabase.auth.admin.createUser
supabase.auth.admin.createUser
it seems that even if I don't specify the
password
password
field there is still some kind of password created in the DB. There is a value in the
encrypted_password
encrypted_password
field.

How can I avoid this?

The reason I need this is because our desired auth flow checks if the user has a password set during login and if so, then asks the user to enter their password.
Users who are invited through a different app flow need to be able to just login with a magic link at first and then they can set their password.
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 Admin CreateUser() and SQL function
SupabaseSSupabase / help-and-questions
13mo ago
Supabase Auth Password Policy
SupabaseSSupabase / help-and-questions
3y ago
Supabase Auth without middleware
SupabaseSSupabase / help-and-questions
4mo ago
Supabase auth for admin panel
SupabaseSSupabase / help-and-questions
14mo ago