title: aws cognito user pool domain - Invalid_Request
body: <p>I have created a user pool and setup domain with app client settings () to host sign up and sign in pages in the cognito itself. When I tried using the url similar to -</p>
  
  <p><a href="https://myDomain.auth.us-east-1.amazoncognito.com/login?response_type=code&amp;client_id=fkjfkasjfkasjfdweinfskfsfsfnk&amp;redirect_uri=https://google.com" rel="noreferrer">https://myDomain.auth.us-east-1.amazoncognito.com/login?response_type=code&amp;client_id=fkjfkasjfkasjfdweinfskfsfsfnk&amp;redirect_uri=https://google.com</a> </p>
  
  <p>in the browser I am redirected to </p>
  
  <p><a href="https://myDomain.auth.us-east-1.amazoncognito.com/error?error=invalid_request#" rel="noreferrer">https://myDomain.auth.us-east-1.amazoncognito.com/error?error=invalid_request#</a> </p>
  
  <p>Note: I tried using Cognito User Pool and Facebook identity providers without OAuth2 enabled.</p>
  
  <p>Am I missing something? </p>