serverless-offline
serverless-offline copied to clipboard
Offline doesn't fail with nested authorizer context while API Gateway does
When using a custom lambda authorizer which returns a policy looking like this
{
...
"context": {
"a": ["hello"]
}
}
Offline doesn't fail and passes the context to the lambda in event.requestContext.authorizer, but deploying this code to API Gateway will fail with a 500.
Hi @nbarraille, can you PR a fix please ?
closing for inactivity. feel free to re-open if this is still an issue.