authClient.getSession to have fetchOptions for full Organization or Team data?
authClient.getSession, you get
session and user object.
session has activeOrganizationId and activeTeamId.
Any plans to add a fetch Option to include organization or team data instead of making another network call?2 Replies
Hello, this might be useful
https://www.better-auth.com/docs/concepts/session-management#customizing-session-response
Session Management | Better Auth
Better Auth session management.
I saw that, lots of caveats