3
Bulk User Create / Upsert with Email Confirmed Option
Source: supabase/supabase#33272 · opened by @DoubleOTheven
We have B2B clients with millions of user emails that have already been confirmed. We need to periodically sync large bulks of their users with our Supabase account to provide user authentication. We have faced several issues with the current feature set of the client library:
• There is no way to upload users in bulk with email email_confirmed set to true
• If a user was already created the api returns an error. We need a find or create option (upsert is ok). Multiple B2B partners have some of the same users.
• There is a 10 second time out so when we call supabase in a loop in batches there are frequent timeouts. A bulk upload API would solve this.
We currently call Supabase in a loop with const result = await supabase.auth.admin.createUser({ ...user, email_confirm: true });
• There is no way to upload users in bulk with email email_confirmed set to true
• If a user was already created the api returns an error. We need a find or create option (upsert is ok). Multiple B2B partners have some of the same users.
• There is a 10 second time out so when we call supabase in a loop in batches there are frequent timeouts. A bulk upload API would solve this.
We currently call Supabase in a loop with const result = await supabase.auth.admin.createUser({ ...user, email_confirm: true });
No pledges yet. Be the first to back this.
Comments
Similar requests
Email template for sending welcome email when a user is confirmed
3 votes · 0 comments
Add upsert option to client API to move an existing file
1 vote · 0 comments
copy file wiht upsert as well
1 vote · 0 comments
Request for Improved Response Status in supabase.auth
7 votes · 0 comments
Disable email confirmation for SSO signups.
1 vote · 0 comments
No comments yet.