[GH-ISSUE #2090] Too many API calls for Get Full Organization Function #9047

Closed
opened 2026-04-13 04:20:06 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @kelvinwambua on GitHub (Apr 2, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/2090

Is this suited for github?

  • Yes, this is suited for github

To Reproduce

  1. Backend with Nodejs
  2. Frontend in NextJs
  3. Have a function like such
  const updatedOrgData = await authClient.organization.getFullOrganization({
          organizationId: activeOrganization.id
        });

This calls about 3 times every 10 seconds

Current vs. Expected behavior

Image

What version of Better Auth are you using?

1.2.5

Provide environment information

- Windows 11
- Chrome

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

Client

Auth config (if applicable)

import { betterAuth } from "better-auth"
export const auth = betterAuth({
  emailAndPassword: {  
    enabled: true
  },
});

Additional context

No response

Originally created by @kelvinwambua on GitHub (Apr 2, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/2090 ### Is this suited for github? - [x] Yes, this is suited for github ### To Reproduce 1. Backend with Nodejs 2. Frontend in NextJs 3. Have a function like such ``` const updatedOrgData = await authClient.organization.getFullOrganization({ organizationId: activeOrganization.id }); ``` This calls about 3 times every 10 seconds ### Current vs. Expected behavior <img width="286" alt="Image" src="https://github.com/user-attachments/assets/2f2370ca-ce04-43be-b803-7d14ce2d7281" /> ### What version of Better Auth are you using? 1.2.5 ### Provide environment information ```bash - Windows 11 - Chrome ``` ### Which area(s) are affected? (Select all that apply) Client ### Auth config (if applicable) ```typescript import { betterAuth } from "better-auth" export const auth = betterAuth({ emailAndPassword: { enabled: true }, }); ``` ### Additional context _No response_
GiteaMirror added the lockedbug labels 2026-04-13 04:20:06 -05:00
Author
Owner

@kelvinwambua commented on GitHub (Apr 2, 2025):

Nevermind the issue is on my end

<!-- gh-comment-id:2772736447 --> @kelvinwambua commented on GitHub (Apr 2, 2025): Nevermind the issue is on my end
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#9047