Search
 
SCRIPT & CODE EXAMPLE
 

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 
  }
 
Comment

PREVIOUS NEXT
Code Example
Javascript :: fill array with random numbers javascript using arrow function 
Javascript :: debugJSON 
Javascript :: track call recording in facebook using elements 
Javascript :: how to set the x and y axis title in plotly express bar 
Javascript :: fields filtering in api from express 
Javascript :: socket.io authentication 
Javascript :: style dropdown react native picker 
Javascript :: to fix a broken class oop javascript 
Javascript :: javascript check if key is keydown is charcter 
Javascript :: useEffect in React 18 in strictmode 
Javascript :: Declare JSON Variable In Another File 
Javascript :: select random quotes from array called anecdotes 
Javascript :: get value from createReadStream 
Javascript :: phaser remove collider on stop 
Javascript :: how to install ghost js 
Javascript :: how to chaage background color of any element from java script 
Javascript :: difference between push and pop in javascript 
Javascript :: auto load in element show 
Javascript :: json whitespace code 
Javascript :: Use Dynamic Scales 
Javascript :: es6 javascript return types 
Javascript :: how to store new object made by constructor classes data in local storage using javascript 
Javascript :: vue2-datepicker nuxtjs example 
Javascript :: Backbone Model And Collection 
Javascript :: Backbone Add To Collection 
Javascript :: close popup after 5 seconds in jquery 
Javascript :: js pipe 
Javascript :: array max in javascript 
Javascript :: javascript promise example 
Javascript :: javascript add item to array 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =