【发布时间】:2017-07-27 12:33:29
【问题描述】:
我已实现 Xamarin.Auth sample code 以在 Android 上通过 google 的身份提供程序进行身份验证。我已使用设备的 Chrome 浏览器成功导航到 Google 登录页面,我可以在其中输入我的凭据。我已成功通过 Google 授权,但 Chrome 自定义选项卡在重定向回我的应用程序时并未关闭,即我只能在 chrome 浏览器中查看 google 搜索。如果我关闭浏览器,我可以再次看到我的应用,并显示从谷歌身份提供者返回的用户详细信息。
为什么 Chrome 的自定义选项卡不会在从 Google 身份提供程序重定向时关闭,我如何使用 Xamarin Forms 和 Xamarin.Auth 关闭它?
【问题讨论】:
-
也许你可以读到这个:forums.xamarin.com/discussion/92903/….
-
查看stackoverflow.com/a/48734392/7149454 以获得有效答案
标签: android google-chrome xamarin.forms xamarin.auth