我正在尝试通过谷歌在基于angularfire的离子应用中授权应用用户。完整的流程在我的工作站的chrome浏览器上运行正常(使用离子服务器)但在我的Android设备上部署时失败:
$ authWithOAuthPopup,在Android上使用时(通过'离线运行',即安装为apk)导致浏览器卡在auth.firebase.com/blank/page.html中。
提前感谢任何建议......
来自网络流的详细网址:
发起人:firebase.js:147: https://auth.firebase.com/v2/gastrohub/auth/google?&v=js-2.2.6&transport=redirect&suppress_status_codes=true&requestId=p2k757pm4hsjv5531z7045voxcyuelsi0wt3&redirectTo=https%3A%2F%2Fauth。 firebase.com%2Fblank%2Fpage.html
https://accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri=https%3A%2F%2Fauth.firebase.com%2Fv2%2Fgastrohub%2Fauth%2Fgoogle%2Fcallback&scope=% 20profile&安培;状态=%7B%22firebase%22%3A%22gastrohub%22%2C%22requestId%22%3A%22p2k757pm4hsjv5531z7045voxcyuelsi0wt3%22%2C%22redirectTo%22%3A%22https%3A%2F%2Fauth.firebase.com%2Fblank %2Fpage.html%22%2C%22transport%22%3A%22redirect%22%2C%22V%22%3A%22js-2.2.6%22%7D&安培; CLIENT_ID = 434498505800-p5rjvl6basvlsf4fh3t1ta9ej4pt2i28.apps.googleusercontent.com
https://auth.firebase.com/v2/gastrohub/auth/google/callback?state=%7B%22firebase%22:%22gastrohub%22,%22requestId%22:%22p2k757pm4hsjv5531z7045voxcyuelsi0wt3%22,%22redirectTo% 22:%22https://auth.firebase.com/blank/page.html%22,%22transport%22:%22redirect%22%22V%22:%22js-2.2.6%22%7D&安培;代码= 4 / vgz4uJ8SgIswewKQHcMiXZbwddU_F9llfWKaRfEhOMI
https://auth.firebase.com/blank/page.html