Whenever I go to /dashboard, the firebase state has not yet loaded and this causes isLoaded(auth) to be false and immediately redirects me to /register. If I look at the firebase state once I am in the register page, I can clearly see isEmpty set to false and my user profile loaded in state.
What is the expected behavior?
Expected behavior is that it should not be redirecting me to /register if I am clearly logged into firebase.
Which versions of dependencies, and which browser and OS are affected by this issue? Did this work in previous versions or setups?
Currently using firebase v8.1.1/rrf v3.8.1 on Mozilla/MacOS Catailna
Do you want to request a feature or report a bug?
bug
What is the current behavior? Following the example in [http://react-redux-firebase.com/docs/recipes/auth.html#private-route](Private Route example), there seems to be a bug that will always redirect you to login, even if you are logged in.
Here is my code at the moment:
Whenever I go to
/dashboard
, the firebase state has not yet loaded and this causesisLoaded(auth)
to be false and immediately redirects me to/register
. If I look at the firebase state once I am in the register page, I can clearly see isEmpty set to false and my user profile loaded in state.What is the expected behavior? Expected behavior is that it should not be redirecting me to
/register
if I am clearly logged into firebase.Which versions of dependencies, and which browser and OS are affected by this issue? Did this work in previous versions or setups? Currently using firebase v8.1.1/rrf v3.8.1 on Mozilla/MacOS Catailna