[GH-ISSUE #508] Organization Plugin #25622

Closed
opened 2026-04-17 15:52:54 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @Kevinvincentals on GitHub (Nov 12, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/508

Describe the bug
"You are not a member of this Organization" when trying to set active org for a user that has the owner role on said org. This is using

client.organization.setActive({
  organizationId: "organization-id"
})

To Reproduce
Fresh nextjs 15 project with installation of better auth according to docs

Expected behavior
The active org for the user should be set and not be null

Originally created by @Kevinvincentals on GitHub (Nov 12, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/508 **Describe the bug** "You are not a member of this Organization" when trying to set active org for a user that has the owner role on said org. This is using ``` client.organization.setActive({ organizationId: "organization-id" }) ``` **To Reproduce** Fresh nextjs 15 project with installation of better auth according to docs **Expected behavior** The active org for the user should be set and not be null
GiteaMirror added the locked label 2026-04-17 15:52:54 -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#25622