graphdoc
graphdoc copied to clipboard
HTTP Status Code 401 (Unauthorized)
I got an error when I use it against our live GraphQL end point. What's wrong?
✗ Unexpected HTTP Status Code 401 (Unauthorized) from: https://xxx/api/graphql
I assume it is because the header AUTH-TOKEN is missing so I tried these without success.
--header ["AUTH-TOKEN": "xxx"]
--header ["AUTH-TOKEN=xxx"]
--header ["Authorization: Token xxx"]
This relates to https://github.com/2fd/graphdoc/issues/52 .
A workaround would be to put a proxy that does authentication in front of the tool.