angular - Apple 使用 Firebase 登录,并且 Angular 弹出窗口不会重定向到主页
问题描述
登录后弹出窗口不会自动关闭,我也不会被重定向到主页。
this.authService.signInWithApple()
.then((result: any) => {
console.log(result)
this.isLoading = false;
loadingEl.dismiss();
this.redirectLoggedUserToHomePage();
}).catch((error) => {
loadingEl.dismiss();
console.log(error);
this.showAlert(error);
})
解决方案
推荐阅读
- blender - 没有平分工具图标(Blender 2.90.1)
- java - 使用 Redis 的两个或多个 Java 应用程序之间的通信
- c++ - 在二维散点图上找到最佳拟合线。在 C++ 中
- python - 删除嵌套列表中的百分比符号
- javascript - 如何运行 API 以及如何在 API 中输入数据?
- react-native - 使用 react native woocomerce 获取特定客户的详细信息
- c# - C# - 在未调用的继承类中被覆盖的受保护方法
- java - 将 Maven 属性注入资源
- javascript - 护照天蓝色广告失败?“Strategy.prototype.jwtVerify:我们没有收到我们知道如何验证的令牌”
- c++ - 在 vscode 中使用 GCC 和 Windows.h 时的未定义参考