DEV Community

Discussion on: Firebase Authentication with React and Guarded Routes

Collapse
 
bansalrahul14 profile image
Rahul bansal • Edited

There is a problem with this method. It makes it impossible to reach the url.
so the flow is I visited /a endpoint. It will be redirected to the /login and post that it will be redirected to / path.

I added a success url in /login to be the /a and it is ending up in an infinite redirect now.