Creating a web client
In the previous section, we created a Cognito pool and added some functionality to our backend to retrieve the Cognito identity from our context object. Here, we will create a web frontend for our application, a web client. We will first generate a JavaScript SDK of our service using API Gateway, and then we will use this SDK with a Cognito client in a simple web page. Open the Amazon Cognito
dashboard from the AWS Management Console. To use the Cognito site, go to Services
and type in Cognito
.
Cognito is a web service that allows you to manage or implement sign-up and sign-in functionality for your application. There are two options that are provided on the Cognito site: Manage your User Pools and Manage Federated Identities
. You can create your own Cognito pool or you can use federated identities if you want to allow your users to authenticate, for example, using a Facebook or Google account. It also allows unauthenticated identities. Authorization and highly customized...