I\'ve set up authentication using firebase for an angular app in an auth service, and I\'m trying to ensure session state persistence following successful login.
I\'
It is likely you are not using onAuthStateChanged listener to detect the initial Auth state on page load.
onAuthStateChanged
firebase.auth().onAuthStateChanged(user => { if (user) { // User signed in. } else { // User not signed in. } });