awslabs/aws-mobile-angular-cognito-sample

Name: aws-mobile-angular-cognito-sample

Owner: Amazon Web Services - Labs

Owner: AWS Samples

Description: A sample for using AWS Cognito qwith Angular projects.

Created: 2017-07-25 23:34:38.0

Updated: 2017-12-16 17:09:09.0

Pushed: 2017-08-20 21:23:39.0

Homepage: null

Size: 520

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Building fine-grained authorization using Amazon Cognito User Pools groups

This Angular.js application is a reference web app that allows users to explore the use of groups in Amazon Cognito User Pools, together with Amazon Cognito Federated Identities identity pools, to obtain temporary IAM credentials in your web app. The IAM credentials map to privileges that a user obtains after successfully authenticating with a user pool. Those privileges are determined by the role that is mapped to the user pool group that the user belongs to. User pools provide flexibility. You can use them to implement granular authorization architectures for authenticated users. The project code is released under the Apache 2.0 license. Please feel free to make use of the code in this project, and spread the word. We hope you enjoy it, and we certainly welcome all feedback, pull requests and other contributions!

Architecture diagram

Amazon Cognito Authentication flow

AWS services used

This sample is built using the following AWS services:

Get started
Instructions to install dependencies and populate constants

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.