serverless-express
serverless-express copied to clipboard
Completely unable to set cookies in aws lambda.
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!
It works in their example. have you tried it?