graphdoc icon indicating copy to clipboard operation
graphdoc copied to clipboard

HTTP Status Code 401 (Unauthorized)

Open devatleadiq opened this issue 7 years ago • 1 comments

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"]

devatleadiq avatar Oct 12 '18 21:10 devatleadiq

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.

ieugen avatar Oct 13 '18 08:10 ieugen