Reputation: 85
I have implemented a lambda authorizer and integrated it with a lambda proxy integration on the API Gateway.
When I test the authorizer from the API Gateway it works fine, however when I try to invoke the endpoints, on the second lambda, from Postman, the request seems to skip the authorizer and hits directly the second lambda.
I tried also to use the authorizer not only on the API level but also for every method in the API, but that didn't help either.
Upvotes: 1
Views: 1541
Reputation: 770
Since your Authorization is cached for 5 minutes, it does not invoke the authorizer every time you call your API.
Upvotes: 1