I can login, which correctly returns the user object as well as the session cookie.
After which I test another endpoint. The cookie object is sent and received (verified) however req.isAuthenticated() is false, req.user is null and deserializeUser is never called.
Can anyone tell me how to further debug this?
Is there a way to enable verbose logging on fastifyPassport?
I know I have something wrong here.
I can login, which correctly returns the user object as well as the session cookie. After which I test another endpoint. The cookie object is sent and received (verified) however req.isAuthenticated() is false, req.user is null and deserializeUser is never called.
Can anyone tell me how to further debug this? Is there a way to enable verbose logging on fastifyPassport?
Thanks!