Amazon Cognito
Developer Guide

External Identity Providers

Using the logins property, you can set credentials received from an identity provider. Moreover, you can associate an Amazon Cognito identity with multiple identity providers. For example, you could set both the Facebook and Google tokens in the logins property, so that the unique Amazon Cognito identity would be associated with both identity provider logins. No matter which account the end user uses for authentication, Amazon Cognito returns the same user identifier.

The instructions below guide you through authentication with the identity providers supported by Amazon Cognito.