This was done using the amplify cli v0.2.2-multienv.1.
The goal was to:
- Create an auth setup for my React AWS Amplify project
- Use email as the sign up/sign in id and make sure it's unique
- Offer social sign in with Facebook and Google (and have those users also end up in the Cognito user pool—this appeared to only be possible using the hosted UI)