Challenges with VueJS and Google login on android

I have a VueJS/Vuetify app that uses google login ( that I am trying to get to run in android using Capacitor.

I have been successful getting my app to work with Capacitor in android emulator using LocalNotifications and Geolocation but only when I disable authentication.

When I include the authentication, the login button shows up in my app, but when it tries to autheticate with google I get an error saying the javascript origin of the request is http://localhost which, of course doesn’t match the domain I have authorized in OAuth.

I have two questions:

  1. Is there a way I can fix this so that my current auth method works?
  2. Is there a better/correct way for me to implement google auth when running my app in android? If so, where can I find info and a tutorial?