-
Notifications
You must be signed in to change notification settings - Fork 27
Retrieving user info #13
Comments
I created a pull request to solve it: #14 |
@thelovesmith you can take a look at the examples you'll find in this repo. What problem do you have? |
I can't seem to figure out how to send a query with an authorization token. I've set up my graphql server to look for auth token so I can't query certain data without it. However, I do not know how to send an auth token with a request. I'm trying it out in Graphql playground. Im essentially just trying to set up a signup/signin for the grand stack starter where users have to sign up or login before accessing data.
Here is the schema:
|
I commented out some resolvers I tried to set up to handle sign up and login but I have no idea how to do that with Neo4j and graphql. But the Business Query resolver is working because i'm getting the "{no auth token" message. I just don't know how to authorize the request. |
Don’t forget to pass the token from the sender https://www.apollographql.com/docs/react/v3.0-beta/networking/network-layer/#middleware |
Hi everyone,
How can I get the user info once I'm authenticated? I expected that it would be inside of context but seems that it is not in anyplace.
I've checked the source code and I see that decoded data is not attached to any place. Is there another way to get it?
Thanks
The text was updated successfully, but these errors were encountered: