When signing in a user with the same email address through the Google and Facebook identity providers, AWS Cognito creates multiple entries in the user pool, one entry per identity provider used:

[![Screenshot of AWS Cognito user pool](https://i.stack.imgur.com/VzgIk.png)](https://i.stack.imgur.com/VzgIk.png)

I have used the example code provided in this tutorial to set up AWS Cognito: [The Complete Guide to User Authentication with the Amplify Framework](https://dev.to/dabit3/the-complete-guide-to-user-authentication-with-the-amplify-framework-2inh)

* How can I create just one user instead of multiple users?
* Is it possible to have AWS Cognito automatically combine (federate) the entries
from multiple providers into one entry or should AWS Lambda functions be used to accomplish this?