Finding correct Firebase Auth id_token on $onAuthStateChanged
问题 I am currently using Angular 1.5.8 , Firebase 3.3.0 , and AngularFire 2.0.2 . When I call $firebaseAuth.$signInWithPopup , the promise returns with a firebase user that includes firebase.user.idToken , but when I call $onAuthStateChanged , firebase user does not return with a .user property. What is the correct token to use for server authentication from the $onAuthStateChanged function? I was using the md property, but then it stopped working and switched to a kd property and I realized that