Configuring in Cognito

Once we have configured a security profile within the Amazon developer portal, we can configure it within the Cognito console as follows:

  1. Go to the Cognito service in the console.
  2. Click on Manage Identity Pools.
  3. Click on Create New Identity Pool.
  4. Provide a name for the pool:
  1. Expand the Authentication providers section, select the Amazon tab, and enter the Amazon App ID received from the AWS developer portal:
  1. Create an HTML file with a button and the JavaScript code to do the login as follows:
    1. The following code ...

Get AWS Security Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.