Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
refresh useSession()? Impersonating isn't updating the session. - Better Auth
BA
Better Auth
•
8mo ago
•
3 replies
Mads
refresh useSession()? Impersonating isn't updating the session.
I call
:
await authClient
.admin
.impersonateUser
(
{
userId
: id
}
)
But authClient
.useSession
(
) stays the same
. updates on refresh though
. Do I have to call getSession
?
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Expo social login don't refresh the session
BA
Better Auth / help
5mo ago
useSession doesn't get session in TanStack Start
BA
Better Auth / help
8mo ago
manual session refresh
BA
Better Auth / help
11mo ago
useSession cannot reach get-session endpoint
BA
Better Auth / help
13mo ago