Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

the given sign-in provider is disabled for this firebase project

//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 
  }
 
 
PREVIOUS NEXT
Tagged: #provider #disabled #firebase #project
ADD COMMENT
Topic
Name
2+4 =