[PR #8733] feat(client): add hydrateSession for SSR session hydration #16425

Open
opened 2026-04-13 10:31:06 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/8733

State: open
Merged: No


Since createAuthClient is created once at the module level, using initialData is a bit tricky.

So I'm thinking of solving this with hydrateSession method that runs after initialization.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/8733 **State:** open **Merged:** No --- Since `createAuthClient` is created once at the module level, using `initialData` is a bit tricky. So I'm thinking of solving this with `hydrateSession` method that runs after initialization.
GiteaMirror added the pull-request label 2026-04-13 10:31: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#16425