Chapter 10. Adding more features to the authentication service

This chapter covers

  • Managing more use cases, such as resetting and changing passwords
  • Integrating the login process with Amazon Cognito
  • Using the login to get AWS credentials as an authenticated user
  • Allowing access to Lambda functions to only authenticated users

In the previous chapter, you started implementing the serverless architecture for a sample authentication service (figure 10.1) capable of creating new users and validating the email address. In this chapter, you’re going to add more interesting features, such as the ability to change or reset the password, and log in as an Amazon Cognito developer authenticated identity.

Figure 10.1. The overall serverless architecture ...

Get AWS Lambda in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.