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.
I’ve tried the following guides:
And the following libs:
- 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!