signInWithPopup promise doesn't execute the .catch until I click the UI. Angular and Firebase
问题 I'm having a trouble with the .signInWithPopup() method provided by AngularFireAuth, you can see more here: firebaseAuthReference In my auth.service.ts I've the following method. signinWithFacebook2() { const provider = new firebase.auth.FacebookAuthProvider(); return this.afAuth.auth.signInWithPopup(provider); } afAuth is been injected in the auth's constructor: constructor(private router: Router, private afAuth: AngularFireAuth){} I call signinWithFacebook2() when the user click a button in