{"repo":"aws-samples/amazon-cognito-example-for-external-idp","free":true,"listed":false,"github":"https://github.com/aws-samples/amazon-cognito-example-for-external-idp","clone":"git clone https://github.com/aws-samples/amazon-cognito-example-for-external-idp.git","description":"An example for using Amazon Cognito together with an external IdP","language":"TypeScript","stars":309,"topics":["amazon-cognito","amazon-api-gateway","aws-lambda","aws-cdk","aws-amplify","serverless"],"license":"MIT-0","category":"deployment-docker-iac","readme_excerpt":"Identity and Access Control for Custom Enterprise Applications Overview This example can be used as a starting point for using Amazon Cognito together with an external IdP (e.g. a SAML 2.0/OIDC provider or a social login provider). It shows how to use triggers in order to map IdP attributes (e.g. LDAP group membership passed on the SAML response as an attribute) to Amazon Cognito User Pools Groups and optionally also to IAM roles. It contains all that is needed in order to create a serverless web application with Amazon Cognito, Amazon API Gateway, AWS Lambda and Amazon DynamoDB (with optionally an external IdP). It handles fine-grained role-based access control and demonstrates how to associate users to roles/groups based on mapped attributes from an external IdP or social login provider. It is using TypeScript for frontend, backend and infrastructure. (Using AWS CDK) Modules The example contains the following modules within these sub-folders: /cdk This module is using AWS CDK CDK is a software development framework for defining cloud infrastructure in code and provisioning it through AWS CloudFormation. It defines all the resources needed in order to create the sample application It defines the following resources - Amazon API Gateway : Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. Combined with Amazon Cognito User Pools Authorizer - it handles validation of the user's tok","default_branch":null,"files":null,"tree":[],"storefront":"/r/aws-samples","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aws-samples/amazon-cognito-example-for-external-idp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}