Amazon Cognito logo

Amazon Cognito

Amazon Cognito is an AWS service that provides authentication, authorization, and user management for web and mobile applications. It supports OAuth2, OIDC, SAML federation, and social identity providers. Cognito has two main components: User Pools for user authentication and app integration, and Federated Identities for granting temporary AWS credentials to authenticated users. It includes multi-factor authentication, advanced security features, and customizable authentication flows.

2 APIs 1 Capabilities 10 Features
AuthenticationAuthorizationAWSIdentityIdentity ProviderOAuth2OIDC

APIs

Amazon Cognito Identity Provider

Control plane API for managing Cognito user pools, app clients, users, groups, identity providers, and resource servers. Supports user authentication flows including SRP, custom...

Amazon Cognito Identity (Federated Identities)

Federated identity service that issues temporary AWS credentials to authenticated and unauthenticated users from Cognito user pools, social identity providers (Facebook, Google,...

Capabilities

Amazon Cognito Identity Management Workflow

Unified workflow for identity and access management engineers to manage Cognito user pools, user accounts, groups, and federated identity pools. Combines the Identity Provider a...

Run with Naftiko

Features

User Pools

Fully managed user directories with sign-up, sign-in, and user profile management.

OAuth2 and OIDC

Standards-based OAuth2 authorization server and OpenID Connect identity provider for apps.

SAML Federation

Integrate enterprise identity providers via SAML 2.0 for single sign-on.

Social Identity Providers

Sign in with Google, Facebook, Apple, and Amazon without custom backend code.

Multi-Factor Authentication

Built-in MFA with SMS, TOTP, and email verification options.

Customizable Auth Flows

Lambda triggers for custom authentication challenges, pre-signup validation, and post-confirmation.

Advanced Security Features

Risk-based adaptive authentication with compromised credential detection and device tracking.

Federated Identities

Grant temporary AWS credentials to users authenticated via user pools or social providers.

Hosted UI

Pre-built customizable sign-in/sign-up pages with OAuth2 endpoint support.

Fine-Grained Authorization

Attribute-based access control with group-based IAM role assignment.

Use Cases

Web and Mobile App Authentication

Add user registration, login, and session management to web and mobile applications.

Enterprise SSO Integration

Connect enterprise SAML identity providers for single sign-on to AWS-hosted applications.

API Authorization

Use Cognito JWT tokens to authorize access to API Gateway, AppSync, and custom APIs.

B2C Identity Management

Manage consumer user accounts with self-service registration and profile management.

Temporary AWS Credentials

Issue scoped AWS credentials to authenticated users for direct service access.

Integrations

Amazon API Gateway

Validate Cognito JWTs for API Gateway authorizer integration.

AWS Amplify

Pre-built Amplify Auth library for easy Cognito integration in React, Vue, and mobile apps.

AWS Lambda

Trigger Lambda functions for custom authentication logic and user data enrichment.

Amazon DynamoDB

Use Cognito identity IDs as DynamoDB partition keys for per-user data isolation.

AWS IAM

Map Cognito groups to IAM roles for role-based access control to AWS services.

AWS AppSync

Use Cognito user pools as authorization mode for GraphQL API access control.

Semantic Vocabularies

Aws Cognito Cognito Identity Context

50 classes · 55 properties

JSON-LD

Aws Cognito Cognito Idp Context

263 classes · 304 properties

JSON-LD

API Governance Rules

Amazon Cognito API Rules

16 rules · 11 errors 5 warnings

SPECTRAL

Resources

🔗
Website
Website
🔗
Documentation
Documentation
🚀
GettingStarted
GettingStarted
💰
Pricing
Pricing
💬
FAQ
FAQ
👥
GitHubOrganization
GitHubOrganization
🌐
Console
Console
📜
TermsOfService
TermsOfService
📜
PrivacyPolicy
PrivacyPolicy
🟢
StatusPage
StatusPage
💬
Support
Support
📰
Blog
Blog
🔗
SpectralRules
SpectralRules
🔗
Vocabulary
Vocabulary
🔗
NaftikoCapability
NaftikoCapability