Sorry I am new to this,
I am trying to understand and follow the great post for Passport.js with Auth0.
I am wondering if I can use cookie-session package instead of express-session.
My environment is aws application load balancer + 3 instances.
My understand is that express-session is needed to store security key since JWT does not need to store any other data.
I am wondering if I can use cookie-session instead to avoid storing anything on the backend or database.
I tried to use it but our app won’t work without turning on sticky session in ALB.
I tried to set state: false, but then the JWT token I got returned from the server is very short and no data.
Thank you,
Jay