Module 5 Introduction

This is an introduction to the work we'll be doing in Module 5.0.

This lesson preview is part of the TinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two course and can be unlocked immediately with a single-time purchase. Already have access to this course? Log in here.

This video is available to students only
Unlock This Course

Get unlimited access to TinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two with a single-time purchase.

Thumbnail for the \newline course TinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two
  • [00:00 - 00:11] In the last module, we've made it capable for a user to sign in with their Google account in the TinyHealth application. However, there was one particular concern.

    [00:12 - 00:28] When we were to refresh a page or close the browser, close the tab and come back, the user's login state is effectively removed. And though the user can login again by going to the login page and signing in with Google again, I can get pretty repetitive pretty quickly.

    [00:29 - 00:35] Is there a way that we can persist a user's login session in the browser? Yes, we can accomplish this with cookies.

    [00:36 - 00:54] In this module, we'll talk about persistent login sessions with cookies, compare local storage, session storage, and cookies, utilize a cookie on our client to persist login state, discuss and see how we can help avoid cross-site request for the attacks. (upbeat music)