How do I auth myself on the playground so that I c...
# orm-help
f
How do I auth myself on the playground so that I can send a mutation
p
Does it ask for password?
f
p
Are u using the boilerplate?
f
yup
f
cool, thanks!
p
You can call signup on the graphql api to create a new user, and then by passing credentials you’ll retrieve a JWT token
f
how do I give the token to the context?
I understand it's read from the context rather than the mutation arguments
p
It’s being read from your http headers
{ "Authorization": "Bearer JWT_TOKEN}" }
f
thanks dude, you've left no space for doubt
👋 1