free-react-tailwind-admin-dashboard icon indicating copy to clipboard operation
free-react-tailwind-admin-dashboard copied to clipboard

Implementing protected routes requiring authentication

Open mmiranda opened this issue 5 months ago • 0 comments

Using <RequireAuth /> routes to determine if a route is protected and should be accessible only after some authentication logic.

The variable isAuthenticated determines whether the user is authenticated and in this PR is hardcoded as true to mock an authenticated user. In the real world some business logic must be implemented

mmiranda avatar Feb 13 '24 14:02 mmiranda