> that's what I want to know. because I'm not printing any other console.log
That's really strange. Because our lib for sure has not console.log
> is there an alternative to supertokens.middleware()
Yes. You can do
let session = await supertokens.getSession(req, res, true);
https://supertokens.io/docs/nodejs/api-reference/get-session