getSession return null, but only when deployed

Hello,

im building an application right now.
frontend: sveltekit on cf worker
backend: hono on cf worker

On local development everything works as expected.
When I deploy the apps to cloudflare and try get the session via authClient.getSession() i get null in return.
On my local dev environment I get the session and user objects as expected.
I checked cors but thats not the problem, because i recieve all the calls on the backend with code 200
Was this page helpful?