298 Commits

Author SHA1 Message Date
Daniel Cottone 5d15bdb6d3 Merge pull request #337 from clarityhub/master
Stop stripping newlines and tabs from body
2018-02-14 05:37:39 -06:00
Константин Брызгалин 988bcb6390 improved error logging 2018-02-14 13:40:22 +07:00
Leonid 667d27a560 * handle base64 encoded binary response from aws lambda function 2018-02-07 22:02:05 +03:00
Daniel Cottone 9488d0b6d5 Merge pull request #309 from josephwarrick/authorizer-environment
Include environment variables defined for the authorizer function when the authorizer function runs.
2018-02-06 13:44:36 -06:00
Daniel Cottone aa604213fa adding method and path 2018-01-15 12:34:04 -06:00
Daniel Cottone 6fbfe27864 Merge remote-tracking branch 'upstream/master' into request-authorizers 2018-01-15 12:18:41 -06:00
Daniel Cottone 2b097de2cf Merge pull request #339 from mzmiric5/fix/protected-route-method-casing
enforces upper case on method names for protected routes mapping
2018-01-15 13:12:49 -05:00
Daniel Cottone c4cdb1d5ae Merge pull request #345 from vaberay/master
Use header (singular) to follow API Gateway conventions
2018-01-15 13:10:22 -05:00
Ramon Savinon bf8af6282d Use header (singular) to follow API Gateway conventions
Api Gateway's request templates use the header object to get the values for the headers.
2018-01-04 19:15:46 -08:00
Miso Zmiric (Mike Squinter) 3d85a42db0 enforces upper case on method names for protected routes mapping 2017-12-23 05:58:22 +01:00
Ivan Montiel 10558c8283 Stop stripping newlines and tabs from body
This change introduces request.rawPayload to the Hapi request
and uses that if request.payload is not a string.

Before, JSON.stringify(JSON.parse(request.payload)) was being
used, which is not the same as the rawPayload that should be
passed along.
2017-12-16 17:21:00 -07:00
Anish Karandikar 09757c5a0f Update index.js 2017-11-27 16:03:36 -05:00
Daniel Cottone 799a4e9baa updating contributors and moving event.methodArn outside if block 2017-11-16 21:45:03 -06:00
Daniel Cottone d767fa1899 adding support for request authorizers 2017-11-16 21:02:17 -06:00
Joe Warrick 0910effdf0 Include environment variables defined for the authorizer function. 2017-10-03 13:44:35 -05:00
David Hérault 34a6ed4461 lint 2017-09-18 10:03:26 +02:00
David Hérault 7a5c2431ab Merge branch 'master' of github.com:dherault/serverless-offline 2017-09-18 10:01:36 +02:00
David Hérault 2622ba389d Merge pull request #302 from jeremygiberson/authfunc-error
Don't swallow error message when creating auth function handler
2017-09-18 10:01:25 +02:00
David Hérault 6f5ead14b5 Merge branch 'master' of github.com:dherault/serverless-offline 2017-09-18 09:54:39 +02:00
David Hérault d1f168cce6 Merge pull request #294 from ColRad/master
Added --noAuth CLI option to disable Authorizer
2017-09-18 09:54:33 +02:00
David Hérault f3907b8afc Merge branch 'master' of github.com:dherault/serverless-offline 2017-09-18 09:53:39 +02:00
David Hérault 1fe35d4fe5 Merge pull request #292 from ppasmanik/faking-cognito-authorizer
Added claims field to authorizer requestContext for lambdaProxyContex…
2017-09-18 09:53:30 +02:00
David Hérault 2b9d7e57c6 Merge branch 'master' of github.com:dherault/serverless-offline 2017-09-18 09:52:21 +02:00
David Hérault 9a22bea1b0 Merge pull request #287 from AyushG3112/native-crypto
removed npm crypto from dependency and used node-native crypto
2017-09-18 09:52:12 +02:00
David Hérault 030e2b2da7 remove rogue console.log 2017-09-18 09:51:30 +02:00