getSessionCookie does not work in middleware
I was trying to use getSessionCookie just now with my middleware and i kept getting null.
i replaced it with a super simple stand-in util like this for now:
it works. but i hope yall find and fix the issue.
more info on the env:
getSessionCookie is imported in the above snippet via import { getSessionCookie } from "better-auth/cookies";i replaced it with a super simple stand-in util like this for now:
it works. but i hope yall find and fix the issue.
more info on the env: