ios - 无法在 iOS 模拟器上通过 Google 登录

标签 ios cordova google-signin

我正在运行一个使用 Google 登录集成的 cordova 应用程序。当我点击链接登录(输入电子邮件、输入密码、通过 2FA)时,我被重定向到一个错误。

400. That's an error
Error: admin_policy_enforced
Open the Device policy App to continue
Learn more (link)
> Request Details
That's all we know 

我已经能够通过在物理设备上使用 Google Device Policy 应用程序来解决类似的问题,但是我不知道如何在我无法安装 Google Device Policy 应用程序的 iOS 模拟器环境中让它正常工作。

我正在使用

Cordova 4.5.4
Xcode 10.1
iOS 12.1
iPad-Pro 11 inch (simulated)

最佳答案

我尝试使用由我公司管理的 Google 帐户登录,因此出现提及 Device Policy 应用程序的错误。在物理设备上登录时需要该应用程序。

关于ios - 无法在 iOS 模拟器上通过 Google 登录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56244079/

相关文章:

ios - 滑动控制像锁屏 objective-c

ios - 我想在 iOS 5.x 中隐藏一个 Button 但在 iOS 6.x 中不

java - 如何使用 Google Sign in 授权 Youtube Data api 请求?

firebase - Flutter Firebase Google 登录时出现 "Browser or app may not be secure. Try using a different browser."错误

ios - ios 6.0+ 上 itms 的用户代理是什么?

ios - 将数据加载到 TableView 的正确方法

javascript - LinkedIn 是否为其 iPhone 应用程序使用了 PhoneGap 或 Trigger.IO?

javascript - 使用phonegap打开iPhone上的手电筒

android - android sdk 中缺少 Cordova gradle 包装器

ios - Gigya SDK 的 Google 登录问题