FeatureFuel
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 });

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests