Ionic2 Firebase 3.2 Angularfire2 2.0.0-beta.2 Auth not working when testing on device -
when run ionic serve --lab works fine in browser. can auth operations email , password. when try , test on device through ionic upload, or build on android, app isnt authenticating correctly. can still connect firebase if hard code url of list or object can't data through auth login. worth noting when emulate in browser "the current domain not authorized oauth operations. prevent signinwithpopup, signinwithredirect, linkwithpopup , linkwithredirect working." not sure if related issue because still allows me login browser , not using of those, auth.login(email, password). when debug app device through chrome "uncaught error: "location.protocol" must http or https ". know how may able fix this?
popup , redirect operations supported in http , https environments. check thread on how sign in or link popup in ionic/cordova: https://groups.google.com/forum/#!searchin/firebase-talk/cordova$20facebook/firebase-talk/mc_mllncwni/dqn_8aucbqaj
Comments
Post a Comment