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 gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.