title: Apollo GraphQL Playground: 401 Unauthorized
body: <p>I was able to set up Apollo GraphQL Server with Express.</p>
  
  <p>However, the Playground is not working. The page loads but all queries I try to make from the Playground fail with <code>HTTP 401 Unauthorized</code>.</p>
  
  <p>My code:</p>
  
  <pre><code>const server = new ApolloServer({
    schema: MySchema,
    context: ({ req }) =&gt; ({
      connection: req.context.db,
      auth: req.context.auth,
    }),
    playground: true,
  });
  
  // Add to Express
  app.use(server.getMiddleware({ path: '/graphql' }));
  </code></pre>
  
  <p>The Playground is running at localhost:4000/graphql, however all queries I make fail with <code>HTTP 401 Unauthorized</code>.</p>