I\'m using the firebase node api in my javascript files for Google login.
firebase.initializeApp(config); let provider = new firebase.auth.GoogleAuthProvide
use Firebase.getAuth(). It returns the current state of the Firebase client. Otherwise the return value is nullHere are the docs: https://www.firebase.com/docs/web/api/firebase/getauth.html
Firebase.getAuth()
null