serverless-patterns
serverless-patterns copied to clipboard
adding jwt cognito pattern for websocket api using lambda authorizer
Issue #, if available:
*Description of changes: So basically websocket api doesn't have JWT authorizer by default. This patterns creates a lambda authorizer which verifies the JWT token for cognito and sends a policy back to the websocket api based on valid or invalid token.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.