title: AppSync with multiple Cognito User Pools
body: <p>I am working on an Amplify application with AppSync GraphQL as API.</p>
  
  <p>I am trying to have 2 separate user pools that can be used as authentication sources for this GraphQL API.</p>
  
  <p>Following the Amplify tutorial, I was able to deploy the AppSync GraphQL API, but there is no option for me to configure multiple user pools.</p>
  
  <p>I looked into the AWS Console and saw that I can add more User Pools under "Additional authorization providers", but when I did then tried it out in Query section, only the first User Pool works. The API responded with</p>
  
  <pre><code>"message": "Not Authorized to access listTodos on type Query"
  </code></pre>
  
  <p>Here is my schema:</p>
  
  <pre><code>type Todo @model {
    id: ID!
    name: String!
    description: String
  }
  </code></pre>
  
  <p>I also tried to add the second User Pools as Authentication Provider for the Identity Pool generated by Amplify, no luck as well.</p>
  
  <p>Is it possible to use 2 User Pools in a single AppSync API? What am I missing here?</p>
  
  <p>Thanks.</p>