useSession's isPending doesn't work correctly when cookieCache is enabled.

Pretty much the title 😦 I am using authClient.useSession in a client component (navbar) and conditionally rendering "sign in"/ "my account" links. Unfortunately, whenever I refresh, isPending never hits false if cookieCache is enabled. In auth file, i also pass the nextCookies() plugin (in the end).
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?