https://github.com/aaronksaunders/mobile-gauth
Capacitor Firebase Authentication Google, Email and Phone Plugin from CapAwesome Team - Example Vue JS App
https://github.com/aaronksaunders/mobile-gauth
authentication capacitor firebase firebase-auth firebase-authentication firebase-database ionic-framework ionic-native vue vuejs
Last synced: 10 months ago
JSON representation
Capacitor Firebase Authentication Google, Email and Phone Plugin from CapAwesome Team - Example Vue JS App
- Host: GitHub
- URL: https://github.com/aaronksaunders/mobile-gauth
- Owner: aaronksaunders
- Created: 2022-07-25T22:23:35.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-18T17:24:02.000Z (over 3 years ago)
- Last Synced: 2025-07-11T01:08:32.682Z (11 months ago)
- Topics: authentication, capacitor, firebase, firebase-auth, firebase-authentication, firebase-database, ionic-framework, ionic-native, vue, vuejs
- Language: TypeScript
- Homepage:
- Size: 1.1 MB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Capacitor Firebase Authentication Plugin from CapAwesome Team - Example Vue JS App
A sample app showing how to integrate the [ Capacitor Firebase Authentication Plugin from CapAwesome Team](https://github.com/capawesome-team/capacitor-firebase) in an Ionic VueJS Application
you will need to add to root of project a .env file to project
```
VUE_APP_FIREBASE_API_KEY=
VUE_APP_FIREBASE_AUTH_DOMAIN=
VUE_APP_FIREBASE_PROJECT_ID=
VUE_APP_FIREBASE_APP_ID=
```
you will need to follow directions for adding google auth to project
- https://github.com/capawesome-team/capacitor-firebase/blob/main/packages/authentication/docs/setup-google.md
### Problem
I needed google and phone number auth for a mobile solution, mostly google and I wanted a plugin that could handle all of the oauth stuff form me with simple configuration and finally firebase was the database solution.
So basically I use the Plugin to get the auth credential and then I login using the javascript sdk. Once the user is logged in, I do not need the listener from the plugin to let me know if a user is logged in or not; i juts use the js sdk auth listener to fing my user and thats it.