Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Authentication Guide #26

Closed
bmullan91 opened this issue Feb 19, 2019 · 1 comment
Closed

Docs: Authentication Guide #26

bmullan91 opened this issue Feb 19, 2019 · 1 comment
Assignees

Comments

@bmullan91
Copy link
Contributor

  • Typical use case of setting a JWT via client.setHeader()
  • Include a login component that will call a login function which returns the token (could be graphql query)
  • Demonstration accessing the client via ClientContext
  • Calling setHeader with JWT
  • Refetching queries after login
@bmullan91 bmullan91 added this to To do in GraphQL Hooks Feb 19, 2019
@ghost ghost self-assigned this Aug 20, 2019
@cepelinc cepelinc self-assigned this Aug 21, 2019
@bmullan91 bmullan91 moved this from To do to In progress in GraphQL Hooks Jan 20, 2020
@bmullan91
Copy link
Contributor Author

Done in #360

GraphQL Hooks automation moved this from In progress to Done Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
GraphQL Hooks
  
Done
Development

No branches or pull requests

3 participants