未呈现自断言形式的签名上的额外字段



试图在我的登录自断言表单中实现一个不可见的重述。我使用了与注册时相同的技术,但我注意到我的自定义属性没有在DOM中呈现,也没有显示(我会使其不可见(。我需要extension_captchaToken成为dom的一部分,并通过javascript由repatcha填充。你能告诉我为什么吗?谢谢

<TechnicalProfile Id="SelfAsserted-LocalAccountSignin">
<DisplayName>Local Account Signin</DisplayName>
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.SelfAssertedAttributeProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
<Metadata>
<Item Key="SignUpTarget">SignUpWithLogonEmailExchange</Item>
<Item Key="setting.operatingMode">Email</Item>
<Item Key="ContentDefinitionReferenceId">api.selfasserted</Item>
</Metadata>
<IncludeInSso>false</IncludeInSso>
<InputClaims>
<InputClaim ClaimTypeReferenceId="signInName" />
</InputClaims>
<DisplayClaims>
<DisplayClaim ClaimTypeReferenceId="signInName" Required="true" />
<DisplayClaim ClaimTypeReferenceId="password" Required="true" />
**<DisplayClaim ClaimTypeReferenceId="extension_captchaToken" Required="true" />**
</DisplayClaims>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="signInName" Required="true" />
<OutputClaim ClaimTypeReferenceId="password" Required="true" />
**<OutputClaim ClaimTypeReferenceId="extension_captchaToken" />**
<OutputClaim ClaimTypeReferenceId="objectId" />
</OutputClaims>
<ValidationTechnicalProfiles>
<ValidationTechnicalProfile ReferenceId="login-NonInteractive" />
</ValidationTechnicalProfiles>
<UseTechnicalProfileForSessionManagement ReferenceId="SM-AAD" />
</TechnicalProfile>

如果您使用的是unifiedsp内容定义模板,或编排步骤类型为CombinedSignInOrSignUp,则只提供用户名/电子邮件和密码的输入。

可以使用声明解析器将extension_captchaToken声明作为URL的一部分传递给托管您的内容定义的网站。然而,我认为您的内容定义网站必须在其页面上包含服务器端,客户端JavaScript在合并的B2C页面上运行,而不是在您的内容界定页面上运行。

最新更新