I cannot figure out how to have my user in a react-native app being able to use both Cognito and a social provider like Facebook.
Let say the user first start by creating a username with password. And later decided to connect his account with is Facebook. I would like to allow him to log in just by using the Facebook button and not having to enter again. email + password.
Thanks.