DEV Community

Cover image for AWS Cognito Course For Beginners
Rishi for AWS Community Builders

Posted on • Originally published at tricksumo.com

AWS Cognito Course For Beginners

AWS Cognito is a robust tool for implementing an authentication and authorization layer on your application. In this course, we will understand Cognito offerings (User Pool and Identity Pool), different ways to use Cognito with your application (OAuth2.0 and SDK), and at the end will use our learnings to create a secure file sharing application (ShareMyFiles).

Prerequisites

  • Basic understanding of JavaScript, React, and NodeJS.
  • Familiarity with core AWS services (S3, IAM, API Gateway) will be helpful.

Course Structure

  1. AWS Cognito introduction
    • What is AWS Cognito?
    • Difference between User Pool, ID Pool, and IAM
  2. User Pool overview
    • Users, Groups, MFA, Passkey & Managed Login
  3. 0Auth2.0 workflow with User Pool (Managed Login)
    • 0Auth2.0 introduction, grant types, PKCE security, JWT authentication
    • Public and Private OAuth2.0 clients
    • User Pool with React (single page application), traditional backend and fullstack application
    • Third-party (Google) login support
  4. User Pool APIs and SDK (custom login page)
  5. Secure AWS API Gateway using Cognito User Pool (JWT Authorizer)
  6. Identity Pool
    • Introduction
    • Integration with User Pool and Google social login
    • Role based access control
    • APIs and SDK
  7. ShareMyFiles (Build a Secure File Sharing App with AWS Cognito & S3)

Github repo containing code and curl commands:- Cognito Course

Hope people find it insightful. If there are any doubts, please let me know in the comments!

Thanks ☺️

Heroku

Deploy with ease. Manage efficiently. Scale faster.

Leave the infrastructure headaches to us, while you focus on pushing boundaries, realizing your vision, and making a lasting impression on your users.

Get Started

Top comments (0)

Best Practices for Running  Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK cover image

Best Practices for Running Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK

This post discusses the process of migrating a growing WordPress eShop business to AWS using AWS CDK for an easily scalable, high availability architecture. The detailed structure encompasses several pillars: Compute, Storage, Database, Cache, CDN, DNS, Security, and Backup.

Read full post

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay