We can lift the JWTClaims helper out of our handler functions and into an API Gateway Authorizer, further reducing application code and increasing security.
Support for this in SAM is questionable. It doesn't look like a Serverless::Function supports adding an authorizer yet, but maybe you can assign then via Swagger.
We can lift the JWTClaims helper out of our handler functions and into an API Gateway Authorizer, further reducing application code and increasing security.
Support for this in SAM is questionable. It doesn't look like a
Serverless::Function
supports adding an authorizer yet, but maybe you can assign then via Swagger.