© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
refresh useSession()? Impersonating isn't updating the session. - Better Auth
BA
Better Auth
•
10mo 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
?
Similar Threads
Expo social login don't refresh the session
BA
Better Auth / help
6mo ago
useSession doesn't get session in TanStack Start
BA
Better Auth / help
10mo ago
manual session refresh
BA
Better Auth / help
13mo ago
useSession cannot reach get-session endpoint
BA
Better Auth / help
14mo ago