# Serverless express app does not set cookies

**URL:** <https://answers.netlify.com/t/serverless-express-app-does-not-set-cookies/28388>\
**Category:** Support\
**Tags:** lambda-functions\
**Created:** [December 15, 2020, 6:04pm UTC](https://answers.netlify.com/t/serverless-express-app-does-not-set-cookies/28388 "2020-12-15T18:04:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jen](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jen/32/6044_2.png) [@jen](https://answers.netlify.com/u/jen)\
**Post date:** [December 18, 2020, 8:39pm UTC](https://answers.netlify.com/t/serverless-express-app-does-not-set-cookies/28388/2 "2020-12-18T20:39:46Z")

</div>

Hmm… setting cookies from functions is definitely possible. Are you seeing any error in the console? If so, it’d be great to see a screenshot. And either way, a [request id](https://answers.netlify.com/t/support-guide-netlify-support-asked-for-the-x-nf-request-id-header-what-is-it-and-how-do-i-find-it/4385) would let us check our logs in case we see any clues there.

In the meantime, here’s an example of a function that sets a jwt cookie: [netlify-auth-example/auth.js at master · futuregerald/netlify-auth-example · GitHub](https://github.com/futuregerald/netlify-auth-example/blob/master/functions/auth.js)

---

_[View the full topic](https://answers.netlify.com/t/serverless-express-app-does-not-set-cookies/28388)._
