![](/img/trans.png)
[英]AADB2C Custom Policy - Local and Social Account Sign policy with split email verification and sign up
[英]AADB2C Embedded Password Reset: Local account discover is not being fired
我們正在實施嵌入式密碼重置,這是新的推薦做法。 一旦我們單擊Forgot your password?
鏈接重置子旅程按預期調用。
重置子旅程總是跳過本地帳戶發現步驟,用戶驗證他們的電子郵件以訪問他們的帳戶信息,並直接跳轉到屏幕輸入新密碼 - 新密碼輸入失敗,因為沒有帳戶將新密碼寫入。
我們的重置密碼之旅如下:
<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>
到目前為止,我們的代碼是直接從教程和示例代碼中提取的。 我們如何解決這個問題,有沒有其他人遇到過同樣的問題?
您的問題已解決,貼在本帖末尾:
這是 B2C 系統中的一個錯誤 - 初始組合登錄和注冊步驟似乎設置了
resetEmail
聲明來解決此問題。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.