Authentication doesn\'t seem to persist after page has been refreshed. Even after using firebase.auth.Auth.Persistence.LOCAL.
firebase.auth.Auth.Persistence.LOCAL
Whenever I log into my app
You need to use onAuthStateChanged listener to detect the initial auth state:
onAuthStateChanged
firebase.auth().onAuthStateChanged(user => { if (user) { // User is signed in. } else { // User is signed out. } });