diff --git a/packages/graphql/lib/mock-server-middleware.js b/packages/graphql/lib/mock-server-middleware.js index d3d1d866f..667dec972 100644 --- a/packages/graphql/lib/mock-server-middleware.js +++ b/packages/graphql/lib/mock-server-middleware.js @@ -12,6 +12,11 @@ const apolloAppPromise = Promise.resolve( const server = new ApolloServer({ schema: resolvedSchema, + playground: { + settings: { + 'request.credentials': 'same-origin', + }, + }, context: context => ({ ...context, config: hopsConfig }), });