I've studied a few react authentication solutions / structures and mixed them up by putting the part I thought are relevant (for me).
Getting Token Authentication Right in a Stateless Single Page Application – Peter Locke
medium.com
Building Basic React Authentication – Denny Scott
medium.com
React Router: Require Authentication With Singular Component – Ross Bulat
medium.com
Implementing private routes with React Router and Hooks – Ceci García García
medium.com
Protected routes and authentication with React Router v4 – Tyler McGinnis
tylermcginnis.com
http://react-auth.codeplaylove.de/
EMail: [email protected]
Password: test