English 中文(简体)
Windows Live ID在不同应用中为相同用户提供不同的用户令牌?
原标题:
  • 时间:2009-04-04 13:56:16
  •  标签:

Windows Live ID 在不同的应用程序中似乎会为相同的用户返回不同的用户令牌。

这是最新情况。

Windows Live ID is supposed (i think) to give me Unique User Token. I want to use this to identify the user. My App is 2 parts ... 1 = ASP.NET webapp...2 is WPF. (Same DB / User Table)

问题:

当用户登录到ASP.Net时,我得到的UserToken为00202009399。

当用户登录 WPF 时,我会得到 UserToken = 00829909233。

问题:

  • Is this a glich? If so - what is a work around?

如果这是计划的行为 - 我只能认为微软想要将用户令牌按应用程序或域分离。

  • Is there a setting to Tell LiveID that these 2 differnt Apps (WPf & ASP.Net ) are from same Orginization/Owner/Azure Account?
问题回答

我知道这个答案来得有点晚了。Windows Live ID 为每个在您的网站上登录的 Windows Live 用户提供了一个唯一的、与网站相关的标识符。这样设计是为了允许用户在不同网站间保持机密性和安全性。

有没有设置告诉LiveID这两个不同的应用程序(WPf和ASP.Net)来自同一组织/所有者/Azure帐户?

如果您希望具有相同的标识符,则必须使用相同的应用程序ID。如果您想要保留您正在登录的应用程序部分,则可以使用上下文参数来设置返回路径,唯一的要求是它们必须在注册应用程序时设置的相同域中。





相关问题
热门标签