首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >堆栈交换登录挂在Windows 10 Mobile上?

堆栈交换登录挂在Windows 10 Mobile上?
EN

Stack Apps用户
提问于 2016-09-12 21:38:02
回答 1查看 187关注 0票数 2

我正在开发一个(StackAppforWindows10PC/Mobile和Windows8.1 Mobile)。

我有一个用户登录设置和使用WebAuthenticationBroker的通用Windows平台,以获得access_token。这在Windows 10桌面上运行得很好。

但是当涉及到Windows10Mobile时,登录页面在点击Login with StackExchange后挂起。

当我输入这个问题的时候,它已经快28分钟了,它还在运行。我试图在我的移动浏览器( Microsoft )上输入URL,但它在我的Windows 10机器和平板电脑上仍然有效。

下面是截图。如果你看到它挂起@这个页面没有给我选择输入我的用户名和密码。

在我使用查询字符串Application HangsLogin hangsAuthentication HangsWebBrowser Hangs搜索本主题的最后10分钟期间,我被重定向到这个问题

有人能告诉我什么是问题吗?

我的**身份验证代理

的一部分

代码语言:javascript
复制
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);
}
EN

回答 1

Stack Apps用户

回答已采纳

发布于 2016-10-10 17:06:24

我不得不在我的应用程序上更改身份验证的结构。对于windows 10,我使用AuthenticationBroker,但对于Windows10手机,我使用了旧的WebView模型并完成了登录实现。

票数 1
EN
页面原文内容由Stack Apps提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackapps.com/questions/7039

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档