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
I expected this to change my index page context, on the router.reload of the page. But at this time I still the authUser.id being present even after reload.
The page only works correctly when I click a manual refresh on browser.
The signOut method signs out the user on on the Firebase JS SDK but it does not await the "logout" API request. This can cause unexpected behavior.
From discussion: #556
On our index page I have a top menu which hosts the
Sign Out
button.The onClick of
Sign Out
looks like this.I expected this to change my index page context, on the
router.reload
of the page. But at this time I still theauthUser.id
being present even after reload.The page only works correctly when I click a manual refresh on browser.
How can I reflect the correct logout state to my SSR page for updating the UI for a guest user?
Originally posted by @ahetawal-p in #556
The text was updated successfully, but these errors were encountered: