title: User Pool and Federated Identity
body: <p>I am trying to use the AWS Javascript sdk to provide login capabilities to a web app. </p>
  
  <p>I have a Cognito User Pool set up and have accounts registering, verifying and logging in correctly.</p>
  
  <p>Identities are being created in the identity pool, but I would now like to add functionality that allows me to authorize with my Google account (or facebook, twitter, whatever) and link that authorization to the same identity in the identity pool.</p>
  
  <p>I can't find any method in the documentation that would allow me to do this. </p>
  
  <p>I anticipate that this will allow my user to then login using Google or username/password, but I can't find any guidance on how to link those authorizations. </p>
  
  <p>In addition, is there a way that the User Pool account can be created following a federated identity login, if that is the users initial point of contact (eg: clicking "Login with Facebook" when they have never been there before).</p>
  
  <p>Any guidance would be greatly appreciated.</p>
  
  <p>Best regards,</p>
  
  <p>Hal</p>