Member-only story

Setting Up AWS Application Gateway REST API with Cognito Authentication

Jorge Freitas
3 min readAug 5, 2024

--

Sample Application Gateway

In this article, we will explore how to set up an AWS Application Gateway with authentication using AWS Cognito. This setup provides a secure and scalable way to manage user authentication for your applications. I will not go dip into the creation of AWS Cognito and AWS Application Gateway, the goal is how to have AWS Application Gateway with Cognito Authentication.

Prerequisites

Before we begin, ensure you have the following:

  1. An AWS account with the necessary permissions.
  2. Basic knowledge of AWS services such as Cognito and Application Gateway.
  3. Amazon Cognito Configured.
  4. Application Gateway up and running too.

Step 1: Create a Cognito User Pool & User Pool

First, we need to create a Cognito User Pool. This user pool will manage and authenticate your users.

  1. Go to the Amazon Cognito service in the AWS Management Console.
  2. Click on Create a user pool.
  3. Follow the setup wizard to configure your user pool. Make sure to enable the features you need for your application, such as email or phone verification.

--

--

No responses yet