AWS Cognito for login and registration

No application is possible without a user registration journey. This is where the magic of the serverless ecosystem starts.

Suppose that I want my user to sign up for the app using Facebook, Gmail, SAML providers, or a traditional proprietary sign up. Painful, right? All we know is that this is monotonous work. You need user management so that you can identify unique users and serve them the correct data.

What if I told you that you do not need to build a traditional registration API that validates the user, insert it into the database, and generate a token against it? AWS (along with many other providers, such as Firebase) provides its own user management services. 

Typically, AWS Cognito provides a ...

Get Hands-On Serverless Applications with Kotlin 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.