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

问题描述

我在此 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

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)