event.headers.Cookie is undefined (SOLVED)

Hey! First post…I’m quite new to serverless. Been searching all over the place for how to get the Cookie Header from the event inside a handler, when using lambda-proxy and not lambda integration. Can’t get it work.

I’m setting cookie like this when doing a redirect:
headers: {
‘Set-Cookie’: ‘token=sometoken’,
‘Location’: ‘example.com’,
‘Access-Control-Allow-Origin’: ‘example.com

Problem on the clients side, all good!