Question : the given sign-in provider is disabled for this firebase project
Answered by : daljeet-singh
//my mistake was i was calling the GoogleAuthProvider
// this is incorrect
this.auth.signInWithPopup(new firebase.GoogleAuthProvider());
//do not user ()
=================================================
import * as firebase from 'firebase/auth' constructor(private auth:AngularFireAuth) { } @HostListener('click') onclick(){ this.auth.signInWithPopup(new firebase.GoogleAuthProvider); //correct }
Source : | Last Update : Fri, 20 May 22