AWS API Gateway Custom Authorizer AuthorizerConfigurationException

前端 未结 4 376
天涯浪人
天涯浪人 2021-01-11 17:12

For a Kinesis stream, I created a proxy API using AWS API Gateway. I added a custom authorizer using python Lambda for the proxy. After publish of lambda function and deploy

4条回答
  •  囚心锁ツ
    2021-01-11 18:09

    In my case i was not returning a properly formatted IAM policy document. My Authorizer function was doing wrong assumptions on how to get some parameters from request, and default result was not proper policy (this was my specific case). I managed to debug it using CloudWatch log service, with traditional logging instructions coming from my function code.

提交回复
热议问题