Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Authenticate & Authorize Serverless APIs with Cognito
Rating: 4.3 out of 5(17 ratings)
897 students

Authenticate & Authorize Serverless APIs with Cognito

AWS serverless, Serverless Framework version 4, Rest APIs, Cognito User Pool and Cognito App Client, Testing APIs
Created byAshwin Morey
Last updated 11/2024
English

What you'll learn

  • Configuring Cognito User Pool and Cognito App Client in Serverless YAML
  • Create and authenticate a user against the Cognito User Pool
  • Authorize your Serverless API using a JWT access token
  • Create and secure a Serverless API using Cognito

Course content

5 sections21 lectures1h 59m total length
  • Promo0:39
  • Application Walkthrough5:06
  • Introduction3:20

    Tools required to setup serverless framework for node.js in windows.

  • Configure and Setup AWS CLI3:08
  • Setup serverless framework and download boilerplate code4:33
  • Deploying and Testing an Api Gateway Endpoint - proxied to a lambda handler6:37
  • Exploring AWS Api Gateway Deployment2:44

Requirements

  • Basic understanding of javascript and nodejs. Need to have an AWS account and acess to AWS console.

Description

In this course, you'll gain practical experience in creating, deploying, and testing REST APIs on AWS using Node.js, a popular server-side JavaScript runtime. We start by introducing the basics of AWS services, focusing on Amazon Cognito, where you’ll learn to configure a Cognito User Pool and Cognito App Client. This setup is crucial for managing user authentication and access control, ensuring that your application remains secure.


You will then move on to constructing REST APIs in Node.js, focusing on creating users and authenticating them within your application. A significant part of the course will involve writing and refining a serverless.yml file, which is central to deploying your APIs in a serverless environment on AWS. This file allows you to define your functions, resources, and permissions in a declarative manner, making deployment and management easier.


As you progress, you’ll integrate Cognito with your REST APIs to handle both authentication and authorization, ensuring that your APIs are secure and only accessible to authorized users. By the end of this course, you will have a solid understanding of how to build, deploy, and secure serverless REST APIs on AWS, using Node.js and the Serverless Framework.  Looking forward to meeting you in this course.

Who this course is for:

  • Beginners or Students looking to learn more on securing REST APIs using AWS Cognito.