[英]AADB2C Embedded Password Reset: Local account discover is not being fired
We're implementing the embedded password reset , as is the new recommended practice.我们正在实施嵌入式密码重置,这是新的推荐做法。 Once we click the
Forgot your password?
一旦我们单击
Forgot your password?
link the reset sub-journey is invoked as expected.链接重置子旅程按预期调用。
The reset sub-journy always skips the local account discovery step, where the user verifies their email to access their account information, and jumps directly to the screen to enter a new password - the new password entry then fails, because there is no account to write the new password into.重置子旅程总是跳过本地帐户发现步骤,用户验证他们的电子邮件以访问他们的帐户信息,并直接跳转到屏幕输入新密码 - 新密码输入失败,因为没有帐户将新密码写入。
Our reset password journey is as follows:我们的重置密码之旅如下:
<SubJourney Id="PasswordReset" Type="Call">
<OrchestrationSteps>
<OrchestrationStep Order="1" Type="ClaimsExchange">
<!-- This orchestration step never occurs. The user is never prompted for their email address. -->
<ClaimsExchanges>
<ClaimsExchange Id="PasswordResetUsingEmailAddressExchange" TechnicalProfileReferenceId="LocalAccountDiscoveryUsingEmailAddress" />
</ClaimsExchanges>
</OrchestrationStep>
<OrchestrationStep Order="2" Type="ClaimsExchange">
<ClaimsExchanges>
<ClaimsExchange Id="NewCredentials" nicalProfileReferenceId="LocalAccountWritePasswordUsingObjectId" />
</ClaimsExchanges>
</OrchestrationStep>
</OrchestrationSteps>
</SubJourney>
Our code, so far, is lifted directly from the tutorials and sample code.到目前为止,我们的代码是直接从教程和示例代码中提取的。 How can we fix this issue, and has anyone else encountered the same problem?
我们如何解决这个问题,有没有其他人遇到过同样的问题?
Your question has been solved, post it as the answer to the end of the thread:您的问题已解决,贴在本帖末尾:
This is a bug in the B2C system - the initial combined sign in and sign up step seems to set the
这是 B2C 系统中的一个错误 - 初始组合登录和注册步骤似乎设置了
LocalAccountDiscoveryUsingEmailAddress配置文件尝试使用(空白)声明而不提示用户输入地址,跳转到密码写入步骤但不选择要写入密码的帐户。 We worked around this by creating a new
resetEmail
claim used only by the account discovery and password write profiles.我们通过创建仅由帐户发现和密码写入配置文件使用的新
resetEmail
声明来解决此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.