'JWT: Questions regarding access tokens and refresh tokens and how to properly use, store and expire them

React Beginner Here. I'm trying to build a login form with JWT, Axios, react-router and context API. I'm still confused on how to properly implement and tie them all together so I made a PowerPoint slide to explain my problem. As far as I know, this combination of storing tokens is the safest way of storing them so I don't use local and session storage. Slide with the questions belowenter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source