Configuring Two Cognito User Pools for a Single AppSync GraphQL API: A YAML CloudFormation Template Guide

Configuring Two Cognito User Pools for a Single AppSync GraphQL API: A YAML CloudFormation Template Guide

2022-11-08

This tutorial explains how combining different groups from two user pools in the same API can provide a flexible and secure authentication and authorization system for your AppSync GraphQL API. The article also includes a YAML CloudFormation template to help you create two Cognito user pools, an AppSync GraphQL API, and a GraphQL schema. Additionally, the article provides a personal opinion on the importance of adopting a learn-by-doing approach to be more effective in problem-solving.