When using the cookie-parser
and express-session
with Express 4, I can put the "secret" in either the cookie-parser or the express-session. Is there any recommendations whats right here?
It seems that if I put the secret in the cookie-parser
, the coockie end up in req.signedCookies
...and if I put the secret in the express-session
, the coockie end up in req.cookies
.