我正在开发一个(StackAppforWindows10PC/Mobile和Windows8.1 Mobile)。
我有一个用户登录设置和使用WebAuthenticationBroker的通用Windows平台,以获得access_token。这在Windows 10桌面上运行得很好。
但是当涉及到Windows10Mobile时,登录页面在点击Login with StackExchange后挂起。
当我输入这个问题的时候,它已经快28分钟了,它还在运行。我试图在我的移动浏览器( Microsoft )上输入URL,但它在我的Windows 10机器和平板电脑上仍然有效。
下面是截图。如果你看到它挂起@这个页面没有给我选择输入我的用户名和密码。

在我使用查询字符串Application Hangs、Login hangs、Authentication Hangs、WebBrowser Hangs搜索本主题的最后10分钟期间,我被重定向到这个问题。
有人能告诉我什么是问题吗?
的一部分
string str = string.Format("https://stackexchange.com/oauth/dialog?client_id={0}&scope={1}&redirect_uri={2}", client_id, "no_expiry", "https://stackexchange.com/oauth/login_success");
WebAuthenticationResult WebAuthenticationResult = await WebAuthenticationBroker.AuthenticateAsync(WebAuthenticationOptions.None, new Uri(str),new Uri("https://stackexchange.com/oauth/login_success"));
if (WebAuthenticationResult.ResponseStatus == WebAuthenticationStatus.Success)
{
RetVal = OutputToken(WebAuthenticationResult.ResponseData);
_class = await GetProfileData(RetVal);
}发布于 2016-10-10 17:06:24
我不得不在我的应用程序上更改身份验证的结构。对于windows 10,我使用AuthenticationBroker,但对于Windows10手机,我使用了旧的WebView模型并完成了登录实现。
https://stackapps.com/questions/7039
复制相似问题