Organization Plugin #215

Closed
opened 2026-03-13 07:37:59 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @Kevinvincentals on GitHub (Nov 12, 2024).

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). **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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#215