Atharva Mulgundatharvamulgund.hashnode.dev·Feb 6, 2024Securing Your Website: A Guide to Implementing Protected RoutesIntroduction: In the vast realm of React applications, security is paramount. One crucial aspect of safeguarding your app and its data is through the implementation of protected routes. In this blog, we'll explore the importance of protected routes, ...DiscussReact
Amit Kumar Routamitkrout.hashnode.dev·Jan 16, 2024How to protect routes for different user roles with restricted access?Introduction Web applications often require different levels of access for various users. For instance, an administrator may need access to specific features that a regular user may not. One way to manage user access in your web application is by set...DiscussReact
Hugo Ramon Pereirahramonp.hashnode.dev·Nov 17, 2023Protected Routes with React.js and Next.jsIntroduction In order to handle routes in React.js we have to install a third party package named React-Router-Dom. This package wasn't developed by the React core team but it is a trusted package in React's community. So this article aims to show wa...DiscussReact
Om Rauteasydev.hashnode.dev·Dec 18, 2022Authentication/login system with JWT and NextAuth protected routes in Next.jsOverview User login/authentication is the main feature of any web application. There are various types of frameworks to authenticate users like auth0 and NextAuth. In this article, we will see hands-on, how to authenticate users. Also, we will implem...Discuss·1 like·443 readsauthentication
Said Mounaimsaidmounaim.hashnode.dev·Oct 12, 2022Created Protected Routes In Next.js Using Next-AuthHello Guuys! Today I 'Il show you how to create Protected Routes In Next.js using Next-Auth. first go to app.js and define Auth function is a wrapper component that we're going to use inside my app it accept a children and inside this function we use...Discuss·83 readsNext.js
Paul Keno Adarojepaulkeno.hashnode.dev·Sep 29, 2022Protected Routes In React Using React RouterClick here to go to the github repo. Introduction Often times, when building an application, you'll need to protect certain routes in your application from users who don't have the proper authentication/authorisation. React router is a great way to...Odiri Ighogboja and 1 other are discussing this2 people are discussing thisDiscuss·14 likes·289 readsprotected-routes