Forbes India Leader Recognition
e.preventDefault(); // Prevent form submission input.blur(); // remove focus input.value = ""; // optional: clear the input

Getting started with Amazon Cognito

Getting started with Amazon Cognito

Featured Image

What is Amazon Cognito?

Amazon Cognito provides authentication, authorization and user management for web and mobile apps. Users can sign-in directly with a username and password or through a third party such as Facebook, Amazon, Google or Apple.

Components

  • User pools:
    • User pools are user directories that provide sign-up and sign-in options for the application users.
  • Identity pools:
    • Identity pools are used to grant users access to other AWS services.

Features of Amazon Cognito

User pools:

It is a user directory in Amazon Cognito.  Users can sign in to a web or mobile app through Amazon Cognito, or federate through a third-party identity provider. Whether users sign in directly or through a third party, all members of the user pool have a directory profile that can be accessed by an SDK.

User pools provide:

  • Sign-up and sign-in services.
  • A built-in, customizable web UI to sign-in users.
  • Social sign-in with Facebook, Google, Login with Amazon and Sign-in with Apple, through SAML and OIDC identity providers from the user pool.
  • User directory management and user profiles.
  • Security features such as multi-factor authentication, checks for compromised credentials, account takeover protection and phone or email verification.
  • Allows customized workflows and user migration through AWS Lambda triggers.

Identity pools:

With an identity pool, users can obtain temporary AWS credentials to access the AWS services, such as Amazon S3 and DynamoDB. It supports anonymous guest users and the following identity providers to authenticate users for identity pools:

  • SAML identity providers
  • Amazon Cognito user pools
  • OpenID Connect providers  (OIDC)
  • Social sign-in with Facebook, Google and Login with Amazon
  • Developer authenticated identities

Amazon Cognito Pricing

Amazon_Cognito_05
Amazon Cognito Pricing

How Amazon Cognito fosters security?

  • Users can sign-in through social identity providers such as Google, Facebook, and Amazon. Also, they can use the enterprise identity providers (Microsoft Active Directory using SAML).
  • Uses identity management standards like OpenID Connect, OAuth 2.0, and SAML 2.0.
  • Add adaptive authentication to in applications it helps to protect the applications. When Amazon Cognito detects unusual sign-in activity, it assigns risk to the activity log and lets the user choose to prompt users for additional verification or block the sign-in request. Users can verify their identities using SMS or a Time-based One-time Password.
  • It helps to protect application users from unauthorized access to their accounts using compromised credentials. For compromised credentials, it prompts them to change the password.
  • Provides multiple security and compliance requirements. Like HIPAA eligible and PCI DSS, SOC, and ISO/IEC 27001, ISO/IEC 27017, ISO/IEC 27018, and ISO 9001 compliant.

How does Amazon Cognito work?

Register User and Authenticate it in C#:

It enables users to  handle user registration and sign-in directly in your app. Without user pools, you needed to implement your own user directory to create accounts, store profiles and implement password recovery flows and so on.

Prerequisites:

  • IAM User
  • Deploying ASP.NET on AWS
  • AWS Toolkit for Visual Studio

Follow the following snapping to set up the User Pool:

Amazon_Cognito_02
Pool Setup Name
Amazon_Cognito_03
Setup User attribute and Custom attribute
Amazon_Cognito_04
Policy to setup the Password strength
Amazon_Cognito_05
User Notification setup
Amazon_Cognito_06
Register the app here and the type of authentication you want to support
Amazon_Cognito_07
User registration success screen

Follow the following code snapping to integrate the User Pool with your Dot.Net Application:

Amazon_Cognito_08
Code changes in the Web.config file. Setup the all these Keys
Amazon_Cognito_09
User Model
Amazon_Cognito_10
Global Attribute
Amazon_Cognito_11
Authenticating credentials with AdminInitiateAuthAsync()
Amazon_Cognito_12
Amazon Cognito API Request

Reference

Related Posts

Latest Posts

  • All Posts
  • ai/ml
  • CEO India Magazine
  • CMMI level 5 Certification
  • e-learning
  • Fintech
  • gaming
  • Generative AI
  • healthcare
  • manufacturing
  • News
  • OTT
  • Portfolio
  • supply chain
  • travel and hospitality
  • Tudip's AI Hackathon
    •   Back
    • Android
    • iOS
    • Java
    • PHP
    • MEAN
    • Ruby
    • DotNet
    • IoT
    • Cloud
    • Testing
    • Roku
    • CMS
    • Python
We Did It Again: Tudip Successfully Renews Its CMMI Level 5 Certification

We Did It Again: Tudip Successfully Renews Its CMMI Level 5 Certification

June 9, 2026

Nobody around here needed a memo to know something worth celebrating had happened. The message from the CMMI Institute said…

Read More
CEO India Magazine Features Dipti Agrawal: The Woman Behind Intelligent Enterprise Solutions

CEO India Magazine Features Dipti Agrawal: The Woman Behind Intelligent Enterprise Solutions

June 9, 2026

There are moments at work that just stop you in your tracks. Not the big quarterly reviews or the product…

Read More
39 Teams, One Afternoon, Countless Ideas: A Look Inside Tudip’s AI Hackathon

39 Teams, One Afternoon, Countless Ideas: A Look Inside Tudip’s AI Hackathon

June 9, 2026

More than 120 employees across 39 teams came together during Tudip's AI Hackathon to explore how artificial intelligence can solve…

Read More

India

Plot No. 11/2, Phase 3, Hinjewadi Rajiv Gandhi Infotech Park, Pune, India – 411057.
info@tudip.com
+91-96-8990-0537

United States

1999 S. Bascom Ave Suite 700, Campbell CA. 95008, USA.
info@tudip.com
+1-408-216-8162

Canada

64 Caracas Road North York, Toronto Ontario M2K 1B1, Canada.
info@tudip.com

Mexico

Calle Amado Nervo #785 Interior B Colonia Ladron De Guevara 44600 Guadalajara, Jalisco, Mexico.
info@tudip.com

Singapore

77 High Street, #10-12B High Street Plaza, Singapore 179433.
info@tudip.com

Colombia

Cra. 9 # 113-53 Of. 1405 Bogotá D.C., Colombia.
info@tudip.com

UAE

Tudip Information Technologies L.L.C Office No 109, ABU HAIL BUILDING 13, Abu Hail, Dubai, UAE.
info@tudip.com

Nigeria

22 Kumasi Crescent, Wuse 2, Abuja, Nigeria.
info@tudip.com