Identity pools external identity providers
Using the logins
property, you can set credentials received from an identity
provider (IdP). Furthermore, you can associate an identity pool with multiple IdPs. For example,
you can set both the Facebook and Google tokens in the logins
property to associate
the unique Amazon Cognito identity with both IdP logins. The user can authenticate with either account,
but Amazon Cognito returns the same user identifier.
The following instructions guide you through authentication with the IdPs that Amazon Cognito identity pools support.