Skip to content

A ReactJS authentication Boilerplate powered by PHP Slim Framework

Notifications You must be signed in to change notification settings

X-Tender/react-auth

Repository files navigation

A ReactJS authentication Boilerplate powered by PHP Slim Framework

Just a small recipe for react authentication

I've studied a few react authentication solutions / structures and mixed them up by putting the part I thought are relevant (for me).

Sources

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

Example

http://react-auth.codeplaylove.de/

Test login Data

EMail: [email protected]
Password: test

Used technologies