How to protect route in my react project. I have used firebase auth for authentifiaction. and my backend service is firebase. How can i protect my routes for both admin and user side. Admin and user is using firebase authentication
Just wanted to set the protected route in a component and can wrap the component to the routes.Is there any issues for storing access token in local storage.