How do i run a lamba locally with authorizer turned on?

How do i run a lamba locally with authorizer turned on?

If you’re referring to the API Gateway Authoriser functionality then take a look at the serverless-offline plugin that emulates the API gateway. It supports authorisers.

2 Likes

Unfortunately that plugin does not support custom authorizers, only local ones :frowning:

@hassankhan - Did u found any solution, I am using Cognito UserPool.