serverless-express icon indicating copy to clipboard operation
serverless-express copied to clipboard

Completely unable to set cookies in aws lambda.

Open david-wb opened this issue 3 years ago • 1 comments

I'm running the latest version of @vendia/serverless-express in AWS lambda and have tried to using res.cookie(...) and res.header('set-cookie', ...) and in both cases no set-cookie response headers are visible in Chrome.

What's weird is that if I run the express app in standalone mode locally, I do see the set-cookie response headers. So this appears to be an issue with @vendia/serverless-express. Any help/advice would be much appreciated. Thanks!

david-wb avatar Apr 06 '22 20:04 david-wb

It works in their example. have you tried it?

k88manish avatar Jul 08 '22 12:07 k88manish