#aws Cognito User Pools or Identity Pools: what do I use to secure my #api?
▻https://hackernoon.com/aws-cognito-user-pools-or-identity-pools-what-do-i-use-to-secure-my-api-
As a developer, you don’t like reinventing the wheel. You need to add #authentication and authorization to your API and you’ve decided to use a third-party service, instead of rolling your own users management system. You are familiar with AWS, so Cognito is the way to go. You check the docs and try to understand what is User Pools, what is Identity Pools and what is the difference between them.That’s your face when going through Cognito docsNo worries, we’ve all been there. It’s really confusing, specially if you’re not an expert on authentication and authorization protocols (I include myself there). Both services seem to be built for the same purpose, so choosing one or another can become a tough task.Long story shortIf you’d like to access AWS resources directly from the client side (be it a (...)