zappa / Zappa

Serverless Python
https://zappa.ws/zappa
MIT License
3.35k stars 362 forks source link

Support for REQUEST Lambda Authorizers? #1339

Open pcolmer opened 5 months ago

pcolmer commented 5 months ago

Context

API Gateway supports REQUEST Lambda Authorizers as well as TOKEN authorizers. The former are more flexible.

There have been at least two Pull Requests that looked like they implemented a solution to this requirement but they were both closed due to a lack of activity.

https://github.com/zappa/Zappa/pull/1113

https://github.com/Miserlou/Zappa/pull/2093 (I cannot find this one on the migrated repository)

Expected Behavior

Zappa should support both types of authorizer. If it does then the documentation needs updating, please to make that clear.

Actual Behavior

Only the TOKEN authorizer is supported.

Possible Fix

Implement one of the suggested pull requests.

Your Environment

github-actions[bot] commented 2 months ago

Hi there! Unfortunately, this Issue has not seen any activity for at least 90 days. If the Issue is still relevant to the latest version of Zappa, please comment within the next 10 days if you wish to keep it open. Otherwise, it will be automatically closed.

pcolmer commented 2 months ago

Definitely still relevant. Having to hand-hack the configuration after deployment which is surely not the intention behind using Zappa.