Azure AD B2C 自定义策略未返回帐户锁定错误 (50053)

时间:2021-01-20 04:09:42

标签: azure-ad-b2c password-protection azure-ad-b2c-custom-policy

我在此 link 之后测试了 AD B2C 智能锁定功能。

我当前的智能锁定设置: enter image description here

登录日志显示我用于测试的账户被成功锁定: enter image description here

但是,在我使用自定义策略的登录页面中,错误并未显示我的帐户被临时锁定,尽管我的 TrustFrameworkExtensions.xml 中有本地化字符串:

<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfUserAccountLocked">#Your account is temporarily locked to prevent unauthorized use. Try again later.</LocalizedString>

登录页面中的错误消息始终为 The username or password provided in the request are invalid

enter image description here

我可以知道我解决此问题/常见原因的方向是什么吗?

编辑:从 Chrome 开发人员工具中,即使超过锁定阈值,调用也始终返回相同的 The username or password provided in the request are invalid. 响应。 enter image description here

0 个答案:

没有答案