title: Login with Facebook using Cognito is redirecting to URL with an error
body: <p>I've created a User Poll and connected a Facebook to it. Here is what it looks like in the AWS Console.</p>
  
  <p><a href="https://i.stack.imgur.com/HS09L.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/HS09L.jpg" alt="CognitoFacebook"></a></p>
  
  <p>I also have set <code>email</code> as a required attribute for signing up.</p>
  
  <p>However, when I visit my hosted login page and click <kbd>Continue with Facebook</kbd>, I get redirected back to my page with URL</p>
  
  <pre><code>http://localhost:4200/#error_description=attributes%20required:%20[email]&amp;error=invalid_request
  </code></pre>
  
  <p>Why is this happening? I've followed all the instructions, and have included <code>email</code> as a scope. I am expecting an <code>access_token</code> in the URL.</p>
  
  <p>Please help. Thanks!</p>