If deploying the server remotely, outside of perimeter network auth, you are limited on ensuring users are properly authenticated and authorized to use the wrapped GraphQL service since the auth token is set on server init.
One way to secure this would be to pass a supplied user auth token from the initial request to the GraphQL server.
Feature request:
- Add a config option to supply a user defined header key to be used for authenticating GraphQL requests
- If the auth token is not set and a user provides the header key to find the user token in the request, pass the user token when processing a request