[GH-ISSUE #1601] membershipLimit is not respected in organization plugin #17469

Closed
opened 2026-04-15 15:37:06 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @iqorex on GitHub (Feb 28, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/1601

Is this suited for github?

  • Yes, this is suited for github

To Reproduce

  1. Attach organization plugin
  2. Use membershipLimit flag

Current vs. Expected behavior

Adding membershipLimit should limit members on organization but currently it does not work at all

What version of Better Auth are you using?

1.1.18

Provide environment information

- OS: mac os
- Browser: chrome

Which area(s) are affected? (Select all that apply)

Backend, Client

Auth config (if applicable)

import { betterAuth } from "better-auth"
export const auth = betterAuth({
    organization({
      membershipLimit: 1,
    })
});

Additional context

No response

Originally created by @iqorex on GitHub (Feb 28, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/1601 ### Is this suited for github? - [x] Yes, this is suited for github ### To Reproduce 1. Attach organization plugin 2. Use membershipLimit flag ### Current vs. Expected behavior Adding membershipLimit should limit members on organization but currently it does not work at all ### What version of Better Auth are you using? 1.1.18 ### Provide environment information ```bash - OS: mac os - Browser: chrome ``` ### Which area(s) are affected? (Select all that apply) Backend, Client ### Auth config (if applicable) ```typescript import { betterAuth } from "better-auth" export const auth = betterAuth({ organization({ membershipLimit: 1, }) }); ``` ### Additional context _No response_
GiteaMirror added the lockedbug labels 2026-04-15 15:37:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#17469