Hello!
I develop with next.js for frontend and nest.js for backend.
I am getting the following error right now.
"ERROR [ExceptionsHandler] req.session.touch is not a function"
The cause seems to be a conflict between the session issued by express-session and the session issued by supertokens.
How can I fix this?
r
rp_st
08/17/2023, 6:57 AM
hey @kojydesu remove express-session from your app
k
kojydesu
08/17/2023, 9:07 AM
Is it impossible to have two sessions?
r
rp_st
08/17/2023, 9:08 AM
I mean, I’m not sure how express session works, but it has caused issues with supertokens
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).