Skip to content

Guide to learn ReactJs Protected Route and Authentication - Author ME :)

Notifications You must be signed in to change notification settings

NishChal370/ReactJS-ProtectedRoute-Guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReactJS Protected Routes and Authentication

Table of Contents

  1. Introduction
  2. Application scenario

Introduction

When developing an application or a website, some routes may need to be blocked from unauthorized access. As a result, the concept of a Protected Route is utilized to restrict unwanted access.

Application scenario

If the user is not logged in, user will be directed to login page or else will be directed to profile page. If the user is on the profile page or has already logged in, click the logout button to return to the login page.

About

Guide to learn ReactJs Protected Route and Authentication - Author ME :)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published