In Part 2 of this serverless series, we add AWS Cognito authentication to the REST API we built in Part 1. By the end of this video, your API will require a valid login token — unauthenticated requests are blocked automatically by API Gateway.
This is Part 2 of a 3-part series:
Part 1 — Lambda + API Gateway → • Serverless REST API With Authentication — ...
Part 2 — Cognito Authentication (this video)
Part 3 — DynamoDB + Full End-to-End Test
What you will build:
A complete user authentication system with sign up, email verification, login, and JWT token-based API protection — all connected to the API from Part 1.
What you will learn:
How to create and configure a Cognito User Pool
How to implement sign up, email confirmation, and login in Python Lambda
How to create a Cognito Authorizer in API Gateway
How to attach the authorizer to protect specific endpoints
How JWT tokens work and how API Gateway validates them
How to read verified user identity from token claims inside Lambda
AWS Services used: Cognito, Lambda, API Gateway, IAM, CloudWatch
Language: Python 3.14
Watch Part 1 first: • Serverless REST API With Authentication — ...
Part 3 adds DynamoDB for real persistent data storage: [Link when live]
Full Tutorial & Code: https://d3qqq77n3yfi4v.cloudfront.net...
If this helped you, like and subscribe — new AWS tutorials every week.
In questa pagina del sito puoi guardare il video online Serverless REST API With Authentication — Part 2 | AWS Cognito + API Gateway Python AWS Project della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Tech With Kobina 11 marzo 2026, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 75 volte e gli è piaciuto 3 spettatori. Buona visione!