This repository demos how to use SAM CLI with Lambda Authorizer locally.
You can find the examples for REST APIs (v1) in rest-apis
folder and HTTP APIs (v2) in http-apis
folder.
Here is an article that walks you through the REST API and AWS SAM configuration in this repository.
Check it!
AWS Serverless - Using SAM with custom authoriser locally
Please feel free to create a PR or an Issue if you find anything can be improved.