简体   繁体   English

AADB2C 嵌入式密码重置:未触发本地帐户发现

[英]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 email claim, even if the user hits the "forgot your password" link.这是 B2C 系统中的一个错误 - 初始组合登录和注册步骤似乎设置了email声明,即使用户点击“忘记密码”链接也是如此。 The LocalAccountDiscoveryUsingEmailAddress profile attempts to use the (blank) claim without prompting the user to enter an address, jumping to the password write step but not picking up an account to write the password to. 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.

相关问题 AADB2C 自定义策略 - 本地和社交帐户签名策略与拆分 email 验证和注册 - AADB2C Custom Policy - Local and Social Account Sign policy with split email verification and sign up AADB2C遵循Salesforce自定义策略指南 - AADB2C following Salesforce guide for custom policies 在Azure门户中重置B2C本地帐户的密码 - Reset password of B2C local account in Azure portal Azure Active Directory B2C - AADB2C - AADB2C90079:客户在兑换机密授权时必须发送 client_secret - Azure Active Directory B2C - AADB2C - AADB2C90079: Clients must send a client_secret when redeeming a confidential grant Azure AD B2C 自定义策略登录错误:AADB2C:加密密钥必须是 256 位密钥 - Azure AD B2C Custom Policy sign in error: AADB2C: Encryption key must be a 256-bit key Azure AD b2c 自定义策略签名/注册错误:- AADB2C:加密密钥必须是 256 位密钥错误 - Azure AD b2c custom policy sigin/signup error : - AADB2C: Encryption key must be a 256-bit key error 使用Azure AD B2C重置未验证帐户的密码 - Reset the password for an unverified account with Azure AD B2C 在 ADB2C 中忘记密码 - (AADB2C90118),如何运行特定的用户流程? - Forgot Password in ADB2C - (AADB2C90118), How to run a specific user flow? 如何使用 MSAL C#、.net 核心在 Azure AD B2C 用户帐户上重置密码? - How to reset password on Azure AD B2C user account using MSAL C#, .net core? 如何为Azure AD帐户重置密码 - How to reset password for Azure AD account
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM