Skip to content

This repository is about authentication and authorization in Mern Stack using JWT

License

Notifications You must be signed in to change notification settings

sundaram2021/mern-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN STACK AUTHENTICATION USING JSON WEB TOKEN AND PROTECTED HOME ROUTE

This project is used for authentication in mern website using jsonwebtoken(jwt).

The authentication flow is as follows :

After login to the website , a unique token is generated and it is stored in local storage .

and using this token in local storage home route is protected.

I have also added a storage event listener so that while using the website is user clears the local storage anyhow then they has to login again

About

This repository is about authentication and authorization in Mern Stack using JWT

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published