Skip to main content

Amazon Cognito

  • What it is
    • Identity for the users of your application — sign-up, sign-in, and access control for web and mobile apps.
    • Scales to millions of users; supports social (Google, Apple, Facebook) and enterprise (SAML, OIDC) identity providers.
  • Two halves
    • User pools — a user directory. Handles registration, MFA, password policies, and returns JWT tokens. This is authentication.
    • Identity pools — exchange a token for temporary AWS credentials so the app can call AWS services directly. This is authorization to AWS.
  • Not to be confused with
  • The one-line rule
    • Customers of your app → Cognito. Employees and AWS operators → IAM / IAM Identity Center.

Linked from