Serverless-offline: event.headers is empty

Created on 12 Sep 2017  路  3Comments  路  Source: dherault/serverless-offline

I'm passing the header 'Authorization' in my requests but it's not coming up in event.headers - anyone know any quick fixes for this?

My serverless-offline config:

custom:
  serverless-offline:
    port: 8080
    corsAllowOrigin: '*'
    corsAllowHeaders: 'accept,content-type,x-api-key,Authorization'

Most helpful comment

+1

All 3 comments

+1

+1

Was this page helpful?
0 / 5 - 0 ratings