concept custom authentication in category aws

appears as: custom authentication, custom authentications, custom authentication
AWS Lambda in Action: Event-driven serverless applications

This is an excerpt from Manning's book AWS Lambda in Action: Event-driven serverless applications.

Cognito provides more than AWS credentials. It’s designed to trust an external authentication: a standard one, such as Facebook or Twitter, or a custom authentication that you can easily integrate. Based on the external authentication, Cognito gives a unique Identity ID that follows users across any device they use. For unauthenticated users, Cognito gives a guest Identity ID that will stick with the device they’re using (such as a smartphone, tablet, or a web browser). In this way, Cognito supports two kinds of identities, unauthenticated and authenticated, each with a different IAM role that can be assumed using the returned (temporary) credentials. Usually you’d give less powerful permissions to the unauthenticated role; for example, unauthenticated users can only read from the AWS resources used by the app, while authenticated users have a more powerful role that allows them to write on those resources.

Figure 6.6. Cognito Identity usage flow for authenticated users using custom authentication

Users authenticated via custom authentication have the same capabilities as users authenticated via external identity providers directly supported by Cognito.