GraphQL API

Restrict API Access with Amazon Cognito you own this product

This project is part of the liveProject series Develop a Powerful GraphQL API in AWS
prerequisites
knowledge of AWS Console and AWS AppSync
skills learned
manage a user directory with Amazon Cognito User Pool • leverage Amazon Cognito to restrict API calls to authenticated users only • implement group-based authorization
Mariano Calandra
1 week · 6-8 hours per week · BEGINNER

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

In this liveProject, you’ll use Amazon Cognito to restrict access to a GraphQL API. Previously, SimpleTravel’s APIs were publicly accessible. But you’ve seen a surge of new customers, and now your boss wants to ensure that access is limited to authorized users. Your challenges include creating an Amazon Cognito user pool and implementing group-based authorization in AWS AppSync.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

project author

Mariano Calandra
Mariano Calandra works as a cloud architect at Claranet Italia where he helps international customers succeed using AWS and cloud-native architectures. He’s an AWS Authorized Instructor, an AWS Community Builder, and a co-organizer of ServerlessDays Rome and the AWS User Group in Rome.

prerequisites

This liveProject is for software developers who have set up their own AWS accounts and know the AWS console. To begin this liveProject you will need to be familiar with the following:


TOOLS
  • Basic AWS Console
  • Basic AWS AppSync

you will learn

In this liveProject, you’ll learn to restrict access to a GraphQL API to only authorized users.


  • Manage a user directory with Amazon Cognito User Pool
  • Leverage Amazon Cognito to restrict API calls to authenticated users only
  • Implement group-based authorization

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Restrict API Access with Amazon Cognito project for free