Hello. I've setup the advanced boilerplate from <h...
# orm-help
l
Hello. I've setup the advanced boilerplate from https://github.com/graphql-boilerplates/typescript-graphql-server which uses graphql-yoga. I'm attempting to use the playground to register a user and then query for
me
. However, I have no idea at all how to utilize the token that is provided from the login mutation when running any of the authentication requiring queries.
a
You have to add the HTTP Authorization request header:
Copy code
{
  "Authorization": "Bearer YourToken"
}