c# - 通过 Google Play 对 Azure 移动应用后端进行身份验证
问题描述
我有一个具有 Azure 后端的移动应用程序。它按原样工作。我的验证码如下:
client = new MobileServiceClient(Settings.ServiceURI);
var user = await client.LoginAsync(this,
MobileServiceAuthenticationProvider.Google, "appname");
这样做的问题是,在将您重定向到 Google 进行身份验证之前,它实际上会将您带到我的应用程序的 ServiceURI。即使在 Google 身份验证中,它也会将 ServiceURI 显示为您正在登录的那个。有没有更好的方法来做到这一点,以便您只看到 Google 登录页面而没有显示有关 ServiceURI 的信息?
谢谢,吉姆
解决方案
推荐阅读
- grid - SyncFusion Grid 的过滤器不起作用,数据未按预期显示
- elasticsearch - 如何使用 Elasticsearch 中的脚本在文档更新中使用聚合值
- javascript - 我想让我的 discord.js 机器人不可见
- android - 旋转矢量测量的解释
- networking - SNMP 32 位和 64 位计数器之间的网络流量差异
- css - Vue.js 无法设置锚点样式
- javascript - 更新输入时超出最大更新深度
- visual-studio-code - 如何在 Visual Studio Code Extensions API 中使用 Contains?
- python - 如何让 Django LoginRequiredMiddleware 返回 401_UNAUTHORIZED 代码而不是 302_FOUND
- docker - docker 卷上的 ng 命令非常慢(Windows)