Firebase - Prevent user authentication
问题 I need to prevent user authentication if their email isn't found in allowedUsers . It doesn't really affect the app, since all the actions will be performed on the users list, but it will be nice if the authentication doesn't happen. loginWithGoogle() { const userDetails = this.afAuth.auth.signInWithPopup(new firebase.auth.GoogleAuthProvider()) .then(user => { console.log(user.user.uid); const queryObservable = this.db.list('/allowedUsers', { query: { orderByChild: 'email', equalTo: user.user