我们是否可以直接在Azure AD B2C SignIn Policy上提供忘记密码链接的策略名称

问题描述 投票:0回答:1

我正在使用自定义SignUp / SignIn策略和自定义UI。

我已经浏览了stackoverflow上的“Forgot Your Password”功能,该功能说调用应用程序需要读取错误代码并重定向到PasswordReset Policy。

当我检查html时,我发现了一个指向我的signUpSignIn政策的忘记密码链接的href。

<div class="password-label">
        <label for="password">Password</label>
        <a id="forgotPassword" tabindex="2" href="/domain.onmicrosoft.com/B2C_1A_signup_signin/api/CombinedSigninAndSignup/forgotPassword?csrf_token=xxxxxx&StateProperties=xxx & p=B2C_1A_signup_signin">Forgot your password?</a>
 </div>

有没有什么办法可以直接从href调用PasswordReset策略,而不是捕获错误代码,因为我正在使用自定义策略。

谢谢,

azure-ad-b2c
1个回答
0
投票

您可以直接将用户从应用程序发送到密码重置策略。

您无法将用户直接从登录/升级政策发送到密码重置政策,如here所述。


UserVoice:Go Direct to Password Reset from Sign-In/Sign-Up

© www.soinside.com 2019 - 2024. All rights reserved.