I’m trying to authenticate a user using Firebase Auth. When using ionic serve --ssl
everything works as you would expect.
However, when using ionic cordova run android -l --ssl
and attempting to login the phone switches to the browser and opens a new tab. Selecting the account you would like to use (Google Auth) closes the tab. And that’s where it ends. Closing the browser and switching back to the app reveals the login page without any authentication occurring.
Here’s a video of it in action. IMGUR
I’ve tried the following guides:
- https://firebase.google.com/docs/auth/web/google-signin
- https://firebase.google.com/docs/auth/web/cordova
And the following libs:
- https://github.com/RaphaelJenni/FirebaseUI-Angular
- https://github.com/chemerisuk/cordova-plugin-firebase-authentication
- https://github.com/baumblatt/capacitor-firebase-auth
- https://ionicframework.com/docs/native/firebase-authentication (what kind of documentation is this!?)
Any help I can get at this point would be greatly appreciated!
1 post - 1 participant