Related issue: https://github.com/graphql/graphiql/issues/500
GraphiQL by default does not implement a way to pass custom request headers, which are still fairly commonly used for example by authentication middleware. It would be nice if graphene-django's built-in GraphiQL view had support for doing authenticated requests with custom HTTP headers.
Yes, without being able to customize the headers, it's not possible to test JWT authentication
This seems like a good enhancement. If anyone wants to contribute a PR for this that would be very helpful.
@MythicManiac @jkimbo Hey, I've prepared PR #1016 that adds support for headers introduced to
graphiql https://github.com/graphql/graphiql/pull/1543
Most helpful comment
@MythicManiac @jkimbo Hey, I've prepared PR #1016 that adds support for headers introduced to
graphiqlhttps://github.com/graphql/graphiql/pull/1543