From the course: Complete Guide to Serverless Web App Development on AWS

Unlock this course with a free trial

Join today to access over 24,600 courses taught by industry experts.

Adding authentication

Adding authentication

- [Instructor] Now that you have your backend authentication ready, it's time to set up the client application to use it. For that, we'll be using the Amplify Auth Library. So here is the documentation. So if you wanted to take a look, I will put the link in the module links. We can use the Amplify Auth Library to provide flexibility and it can be used in multiple ways. Basically this library allow us to create automatically these cognitive resources and generate web pages for the user flow. So if we want to like allow Amplify to everything for us, it can. It can also create the Cognito resources or users flow separately and we can use them. And also it allow us to connect the backend to your web application using Cognito For this particular guide, I will follow the third approach as it give me full control over the Cognito resources, I create them in my backend and then I can create my own custom pages and the user flows myself. And then I will be using the library to access these…

Contents