[GH-ISSUE #6753] Add bulk user inviting to an organization #19244

Open
opened 2026-04-15 18:05:48 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @imqwertyc on GitHub (Dec 14, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/6753

Is this suited for github?

  • Yes, this is suited for github

im my application i have an option to invite multiple users to some organization

Describe the solution you'd like

i would like to pass an array to authClient.organization.inviteMember like this

const result = await authClient.organization.inviteMember({
    email: ["email1@example.com", "email2@example.com", "email3@example.com"],
});

or to implement new function to handle that e.g. authClient.organization.inviteMembers

Describe alternatives you've considered

i've considered using forEach and inviting every email seperately, but it's slow and inconvinient (sending many http requests)

Additional context

No response

Originally created by @imqwertyc on GitHub (Dec 14, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/6753 ### Is this suited for github? - [x] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. im my application i have an option to invite multiple users to some organization ### Describe the solution you'd like i would like to pass an array to `authClient.organization.inviteMember` like this ```ts const result = await authClient.organization.inviteMember({ email: ["email1@example.com", "email2@example.com", "email3@example.com"], }); ``` or to implement new function to handle that e.g. `authClient.organization.inviteMembers` ### Describe alternatives you've considered i've considered using `forEach` and inviting every email seperately, but it's slow and inconvinient (sending many http requests) ### Additional context _No response_
GiteaMirror added the organization label 2026-04-15 18:05:48 -05:00
Author
Owner

@Ridhim-RR commented on GitHub (Dec 15, 2025):

Working on it.

<!-- gh-comment-id:3655314115 --> @Ridhim-RR commented on GitHub (Dec 15, 2025): Working on it.
Author
Owner

@maxvaljan commented on GitHub (Feb 3, 2026):

hi will this ge merged

<!-- gh-comment-id:3843891513 --> @maxvaljan commented on GitHub (Feb 3, 2026): hi will this ge merged
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#19244