AWS API Gateway Custom Authorizer not running
- The API Gateway Test Invoke functionality will NOT invoke any authorizers, and will directly invoke your integration.
- You can test the lambda authorizer independently by using the Authorizer Test Invoke available in the "Authorizers" tab on the API Gateway Console.
- Your lambda function must return a response that includes the principal identifier (principalId) and a policy document containing a list of policy statements.
A more detailed documentation on this can be found here.
Ritisha.