serverless-patterns icon indicating copy to clipboard operation
serverless-patterns copied to clipboard

adding jwt cognito pattern for websocket api using lambda authorizer

Open srajaw opened this issue 1 year ago • 0 comments

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.

srajaw avatar Jul 15 '24 20:07 srajaw