Skip to content

Commit

Permalink
Merge branch 'master' into feature/aws_envs
Browse files Browse the repository at this point in the history
  • Loading branch information
geeknam committed Dec 20, 2016
2 parents 6136f05 + 0238392 commit 7f073e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zappa/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ def create_wsgi_request(event_info, server_name='zappa', script_name=None,
if remote_user:
environ['REMOTE_USER'] = remote_user

if event_info['requestContext'].get('authorizer'):
environ['API_GATEWAY_AUTHORIZER'] = event_info['requestContext']['authorizer']

return environ


Expand Down

0 comments on commit 7f073e0

Please sign in to comment.