Session returns null, v.1.2

const session = await auth.api.getSession({
headers: request.headers
});
const session = await auth.api.getSession({
headers: request.headers
});
I have the above, session in sveltekit layout.server.ts files, I am using the basic setup provided in the betteratuh docs, but after successful sign in, and token being put into cookies, still that above session returns null, which used to work in the preivous version that I was in 1.1,
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?