我的提供商托管应用正在尝试发送除应用标识之外的客户端身份。我不得不修改TokenHelper,SharePointContextProvider,SharePointContext以使其与我们的声明提供程序siteminder一起使用。我能够让应用程序正常工作,但在尝试发送客户端身份时出现以下错误。
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")
我是否需要传递标识发行者类型的内容? 我传递的格式是否正确? “siteminder claim issuer”是sharepoint中声明提供者的名称
答案 0 :(得分:1)
我有同样的问题。
首次升级至2014年8月CU或更高
其次要确保您的声明提供程序实现SupportsUserKey。