Identity pools external identity providers - Amazon Cognito
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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.