ERROR: Can't find firebase.auth.GoogleAuthProvider

Error: Can’t find property GoogleAuthProvider while trying to implement login with google functionality in an ionic app.

Solution:

Use below two inputs and then use below expression to define provider name.

Then use this provider with AngularFireAuth signInWithPopup function to implement the functionality.

 

Reference:

https://www.positronx.io/ionic-firebase-authentication-tutorial-with-examples/

 

Add comment