Chapter 6: Authentication with Apollo and React
We have come a long way over the last few chapters. We have now reached the point where we are going to implement authentication for our React and GraphQL web applications. In this chapter, you are going to learn about some essential concepts for building an application with authentication using GraphQL.
This chapter covers the following topics:
- What is a JWT?
- Cookies versus localStorage
- Implementing authentication in Node.js and Apollo
- Signing up and logging in users
- Authenticating GraphQL queries and mutations
- Accessing the user from the request context