Use JWT Authorizers with Amazon Cognito and API Gateway

Focus Otter April 6, 2021
Video Thumbnail
Focus Otter Logo

Focus Otter

@focusotter

About

Focus Otter is committed to helping developers and solo-preneurs build highly scalable and visually appealing solutions. What you'll find is a practical guide and focus on AWS services and modern frontend frameworks. I currently work at AWS and specialize in building out scalable, yet approachable fullstack applications geared towards the indie hacker community. Let's have fun!

Video Description

HTTP endpoints in API Gateway have the ability to secure resources by first validating a JWT token. In this example, we'll use Amazon cognito's hosted UI to to create a JWT and configure an API Gateway to only provide a lambda response if it's valid. cognito issuer endpoint: https://cognito-idp.your-region.amazonaws.com/your-region_identity-pool-id grabbing the jwt from the url: location.href.split('=')[1].split('&')[0]

You May Also Like