access and refresh tokens in the session but I would like to use middleware.ts to handle few redirects.req.auth in my middleware.ts that's passed to the auth function I always get the following even if the user is logged in. http and even if I am able to load a certificate with the --experimental-https option in next dev, obviously this is still failing because I am making REST calls to an untrusted server.trustHost: false option in auth.js but the situation is getting even worst because I get redirected to the /api/auth/error endpoint for next-auth.req.auth to check if user is logged in or not, but in this case the returned object is always set so to the app looks like the user is logged-in even though is not.