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?
1 Reply
I see 1361862386025238548 having same issue.
https://discord.com/channels/1288403910284935179/1361862386025238548