Sample App - Amazon Cognito and OpenID Connect

This sample demonstrates how you can use Amazon Cognito to build a web app that allows users to sign in using their Salesforce user names and passwords and enables them to access data stored in an Amazon DynamoDB table. The app is written entirely in JavaScript and contains only two files - index.html (this file) and callback.html.

For more details including a step-by-step tutorial, check our OpenID Connect announcement blog post.

To get started, click Sign In with Salesforce button. If you authenticate successfully, the app will list the items from a DynamoDB table.