From the course: AWS and React: Creating Full-Stack Apps

Unlock the full course today

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

IAM/Cognito concepts

IAM/Cognito concepts

- [Host] The next thing that we want to add to our app is user authentication. The ability for users to create accounts and log in with those accounts. And the idea or the goal is that the user eventually be able to access AWS services so they can query the database, whatever they need to do based on what your app is going to do. So we're trying to get this user in, and that's where user authentication comes in. So to get in the AWS services, we need the user to create their account and log in. The service we're going to use for that is called Cognito. And specifically we're going to need the identity pool to be able to validate the users. That's what gives them access into the services. A Cognito identity pool has two roles, unauthenticated and authenticated. If you want to allow unauthenticated users to have access, then you give permissions and IAM to the role set up in that identity pool. Same for authenticated users.…

Contents