首页 > 解决方案 > 通过 Google Play 对 Azure 移动应用后端进行身份验证

问题描述

我有一个具有 Azure 后端的移动应用程序。它按原样工作。我的验证码如下:

client = new MobileServiceClient(Settings.ServiceURI);

var user = await client.LoginAsync(this,
                    MobileServiceAuthenticationProvider.Google, "appname");

这样做的问题是,在将您重定向到 Google 进行身份验证之前,它实际上会将您带到我的应用程序的 ServiceURI。即使在 Google 身份验证中,它也会将 ServiceURI 显示为您正在登录的那个。有没有更好的方法来做到这一点,以便您只看到 Google 登录页面而没有显示有关 ServiceURI 的信息?

谢谢,吉姆

标签: c#azurexamarinxamarin.androidxamarin.auth

解决方案


推荐阅读