From 87c91f5e76b16585cdbcc3ac2f413da37fffad36 Mon Sep 17 00:00:00 2001 From: oavila81 <51451557+oavila81@users.noreply.github.com> Date: Fri, 28 Aug 2020 11:55:45 -0600 Subject: [PATCH] Missing property in example Just add auth property to access method signInWithPopup or signOut: this.auth.auth.signInWithPopup(new auth.GoogleAuthProvider()); --- docs/auth/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/auth/getting-started.md b/docs/auth/getting-started.md index 764adad93..07edbc13c 100644 --- a/docs/auth/getting-started.md +++ b/docs/auth/getting-started.md @@ -30,10 +30,10 @@ export class AppComponent { constructor(public auth: AngularFireAuth) { } login() { - this.auth.signInWithPopup(new auth.GoogleAuthProvider()); + this.auth.auth.signInWithPopup(new auth.GoogleAuthProvider()); } logout() { - this.auth.signOut(); + this.auth.auth.signOut(); } } ```