arronharden / cognito-demo-service Goto Github PK
View Code? Open in Web Editor NEWExample Express based REST API in Node.js for my medium.com article on using the AWS Cognito provided JWT tokens in a backend service. Demonstrates downloading of the Cognito JWKS certificates and use of a JWT decoder to verify the claims in a JWT token, all wrapped up in a reusable Express middleware function.
License: MIT License