Cognito Flashcards
What is Amazon Cognito?
Amazon Cognito is the solution for the authentication and authorization needs of applications.
Amazon Cognito provides authentication, authorization, and user management for your web and mobile apps. Your users can sign in directly to your applications with a username and password. Alternatively, they can sign in through a third party such as Facebook, Google, Apple, etc.
What are the two main components of Amazon Cognito?
User pools and identity pools.
User pools create access to your applications. True or false?
TRUE
Identity pools allow access to AWS resources. True or false?
TRUE
What is the format and three sections of Amazon Cognito tokens?
JSON Web Token (JWT)
- Header - algorithm (alg) and keyid (kid)
- Payload - encoded info
- Signature - calculated using header and payload
Amazon Cognito user pools exchange authentication tokens for AWS credentials. True or false?
FALSE
Identity pools exchange authentication tokens for AWS credentials.
To define the permissions for members of a group, you can assign an AWS identity and Access Management (IAM) role to an Amazon Cognito group. True or false?
TRUE
The JSON Web Token (JWT) payload section contained encoded information about the claim of the key. True or false?
TRUE
When using third-party federation, developers must use identity pools. True or false?
FALSE
Third-party federation is supported for both user pools and identity pools.
Amazon Cognito identity pools can provide credentials for unauthenticated users.
TRUE
Guest access is allowed.