graphql-voyager icon indicating copy to clipboard operation
graphql-voyager copied to clipboard

How do I deal with unauthorized token issue

Open dsl2022 opened this issue 5 years ago • 1 comments

I use Express and followed the install guide, however, the api I am trying to use is from company and is protected, how do I deal with the token issue?

{"errors":[{"message":"Unable to validate user. UnauthorizedError: No authorization token was found"}]}

dsl2022 avatar Dec 13 '19 18:12 dsl2022

If you need to pass the token as a header please use headersJS: https://github.com/APIs-guru/graphql-voyager#properties-1

IvanGoncharov avatar Dec 16 '19 09:12 IvanGoncharov