diff --git a/src/app/login/login.component.ts b/src/app/login/login.component.ts index 578ddc3..1025a85 100644 --- a/src/app/login/login.component.ts +++ b/src/app/login/login.component.ts @@ -21,7 +21,7 @@ export class LoginComponent implements OnInit { async login() { await firebase.auth().setPersistence(firebase.auth.Auth.Persistence.LOCAL); - await firebaseApp.auth().signInWithPopup(new firebase.auth.GoogleAuthProvider()); + await firebaseApp.auth().signInWithRedirect(new firebase.auth.GoogleAuthProvider()); return this.router.navigate(['/dashboard']); } }