Cognito
- authentication, authorization & user management for web/mobile apps
- user directory management & profiles, sign-up & sign-in, MFA
-
user pools - sign-in & get a json web token (JWT)
- most services cannot be accessed by JWT but AWS credentials via identity pool
-
Identity pools - accept the user pool token & allow you to use temporary AWS credentials, by assuming IAM role, to access AWS resources
- unauthenticated identities - guest users
- Federated identities - SWAP - google, FB, twitter…