You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These two hooks will regularly, but not all the time, return an indeterminate state. That is, user is null; loading is false; and error is null.
This occurs when logging in with Google. It navigates successfully to the Google login page and no errors occur when redirecting back. loading switches from true to false, but user and error are both null.
This is an intermittent problem, happening seemingly according to no obvious pattern.
My particular use case is not important, since I can recreate it easily with the sample code, which I have here:
These two hooks will regularly, but not all the time, return an indeterminate state. That is,
user
isnull
;loading
isfalse
; anderror
isnull
.This occurs when logging in with Google. It navigates successfully to the Google login page and no errors occur when redirecting back.
loading
switches fromtrue
tofalse
, butuser
anderror
are both null.This is an intermittent problem, happening seemingly according to no obvious pattern.
My particular use case is not important, since I can recreate it easily with the sample code, which I have here:
My code is not doing anything exotic. I have:
and have checked the
firebaseConfig
carefully for correctness.The text was updated successfully, but these errors were encountered: