【问题标题】:sharepoint 2013 provider hosted app using client identity has issues with access token使用客户端身份的 sharepoint 2013 提供商托管应用程序存在访问令牌问题
【发布时间】:2015-02-24 22:05:06
【问题描述】:

我的提供商托管应用程序正尝试发送应用程序身份之外的客户端身份。我不得不修改 TokenHelper、SharePointContextProvider、SharePointContext 以使其与我们的声明提供程序站点管理员一起工作。我能够使该应用程序仅工作,但在尝试发送客户端身份时出现以下错误。

EncodeProviderUserKey couldn't encode provider user key for input [originalIssuerType:'Unknown'] [originalIssuerIdentifier:'office:idp:forms:siteminder claims issuer'] [providerUserKeyValue:'identifying claim value masked']

我尝试创建以下声明

 new JsonWebTokenClaim(NameIdentifierClaimType, identity.UserId),
 new JsonWebTokenClaim("nii", "urn:office:idp:trusted:siteminder claims issuer")

我需要传递一些标识发行者类型的东西吗? 我传递 nii 的格式是否正确? "siteminder claim issuer" 是 sharepoint 中的声明提供者的名称

【问题讨论】:

    标签: sharepoint-2013 access-token siteminder


    【解决方案1】:

    我也有同样的问题。

    首次升级到 2014 年 8 月 CU 或更高版本

    其次,确保您的声明提供商实施 SupportsUserKey。

    我在这里写了一篇关于我的旅程的博文http://blogs.perficient.com/microsoft/2015/02/on-premises-claims-authenticated-sharepoint-2013-and-hybrid-apps-hosted-in-azure/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-04-07
      • 1970-01-01
      • 2015-10-15
      • 2014-07-12
      相关资源
      最近更新 更多