Dmitry
BABetter Auth
•Created by Dmitry on 3/1/2025 in #help
Cached Session Cookie (JWT) is not refreshed (SvelteKit)
I noticed that when enabling the Session Cookie Cache, Better auth doesn't generate a new Session Cookie (JWT) after the expiration (max-age).
I'm doing
getSession()
in a SvelteKit server hook. Is there something I need to do to initiate the session cookie (JWT) refresh?6 replies