Session returns null, v.1.2
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,
1 Reply
Did you test it with a recent, non-expired cookie? If so, definitely test it with a new session / new session cookie as 1.2 changed the validation check on the HMAC signature.
A pre 1.2 cookie is not going to pass checks in getSession from what I can tell. This might be a long shot but worth testing if you didn't make any other changes to your codebase other than update to 1.2