@LaurentPayot What was your setup?
Following the instructions here:
https://firebase.google.com/docs/auth/web/cordova
Using Quasar-0.15.14
and running:
quasar dev -m cordova -T android
It seems to be redirecting the dev server URL in a new browser window (rather than the actual app).
Running:
const provider = new firebase.auth.GoogleAuthProvider()
self.auth.signInWithRedirect(provider)
return self.auth.getRedirectResult()
opens a new browser to the google oauth page, but then redirects to the dev server URL (instead reopening the app).
I strongly suspect this has to with the way Quasar does hot reload (which fricking awesome btw!).
If I run:
quasar build -m cordova -T android
Then download the app, .auth.signInWithRedirect(provider) works as expected.
Does anyone know how to do OAuth in a cordova dev build on android?