I am on the way to create my first Progressive web app which uses firebase for storing data. I am also using Gmail
as an entry point for all the users that would us
Looks like on mobile your app opens authentication not a new tab of your current browser but in a new browser, so it cannot make a valid redirect back to your initial browser after authentication with Google. If you will sign in with redirect you will stay in the same browser, so you need to change your service to:
loginWithGoogle() {
return this.afAuth.auth.signInWithRedirect(new firebase.auth.GoogleAuthProvider());
}