Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dirty fix for request authorizers... #1535

Closed
wants to merge 8 commits into from
Closed

Dirty fix for request authorizers... #1535

wants to merge 8 commits into from

Conversation

M0dM
Copy link

@M0dM M0dM commented Jun 18, 2018

Api gateway with a request authorizer must have an AuthorizationType value equal to 'CUSTOM' and not 'REQUEST'.

Description

Support Request authorizer type with correct apu gateway authorizationType.

This is a dirty hack.
I am not very familiar with zappa's internal code.
Maybe this can/should be moved somewhere else in the code.

GitHub Issues

#1159

M0dM added 4 commits June 18, 2018 10:55
Api gateway with a request authorizer must have an AuthorizationType value equal to 'CUSTOM' and not 'REQUEST'.
Identity source isn't mandatory for request authorizers.
@coveralls
Copy link

coveralls commented Jun 18, 2018

Coverage Status

Coverage decreased (-0.03%) to 73.988% when pulling 6248de6 on M0dM:master into d99c193 on Miserlou:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-15.6%) to 58.393% when pulling e047930 on M0dM:master into d99c193 on Miserlou:master.

M0dM added 4 commits June 18, 2018 12:06
 IdentitySource is required, my bad...
IdentitySource is mandatory in troposphere...
Set context.identity.clientip by default seems to be a good workaround...
Fix authorizer.get("type") call when type hasn't been specified.
@M0dM M0dM closed this Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants