Skip to content

Instantly share code, notes, and snippets.

@jipengxiang
Forked from faermanj/README.md
Created July 28, 2017 01:00
Show Gist options
  • Save jipengxiang/9220ee4d07252d549592d38909db1729 to your computer and use it in GitHub Desktop.
Save jipengxiang/9220ee4d07252d549592d38909db1729 to your computer and use it in GitHub Desktop.
API Authentication with Amazon Cognito

In the previous episodes we implemented the fundamental components of a tyical web application: "static" content and "dynamic" APIs. For each component, we´ve been using the most out of AWS services, such as S3, CloudFront, Lambda and API gateway. But so far we have only been working with public resources. Let us now learn more about user authentication and authorization in two very important services: AWS Identity and Access Management and Amazon Cognito. Even more importantly, let us integrate that within our React application ;)

  • Serverless Architecture Review
  • Introduction to Amazon Cognito
  • Cognito User Pools
  • Cognito Federated Identities
  • Cognito Identity SDK
  • AWS SDKs
  • Integrating with Javascript and React
  • Implementing Authentication Flows
  • Resources

AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Management (MBL306)

AWS re:Invent 2016: Add User Sign-In, User Management, and Security with Amazon Cognito (MBL310)

SpaceFinder reference app

Integrating User Pools with Javascript

Fix Html webpack plugin

http://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-with-identity-providers.html

http://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-context.html

http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-generate-sdk.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment