This video is available to students only
- TinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two
- Persist Login Sessions with Cookies
Module 5 Introduction
This is an introduction to the work we'll be doing in Module 5.0.
In the last module, we helped facilitate the capability for a user to sign-in with a Google account with the help of OAuth 2.0, however, there was a certain problem we noticed by the end of the module. If we were to ever refresh a page in the app when logged-in, our login state was effectively removed. Though a user will just be able to log-in again by going to the Login page and clicking beginning the sign-in process with Google, this will be repetitive. Is there a way we can persist the log-in session of a user?
This page is a preview of TinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two
- Module 5 Introduction
Contents