How to configure my Serverless YML to use my API Gateway Authorizer?
问题 I'm following this tutorial to use Cognito to authorize the access to my lambda function through API Gateway. I already create my user pool with a validated user, an API Gateway authorizer and a lambda function to login and get the token ID. When I get the token ID with my lambda function and test it in AWS console, the authorizer returns 200, so I think it is working, but when I try to send the token to my lambda function it returns "401 Unauthorized" My YML configuration: teste: handler: