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
Mads
MadsOP3mo ago

Did you find this page helpful?