【发布时间】:2020-11-17 17:10:25
【问题描述】:
我们关注https://docs.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-password-change#:~:text=Choose%20All%20services%20in%20the,for%20and%20select%20the%20TrustframeworkExtensions。通过自定义策略设置更改密码。 正面场景效果很好,但是,如果用户提供了不正确的旧密码,我们会收到一条消息“请求中提供的用户名或密码无效”。没有找到消息来自哪里。 任何线索都会有所帮助。
【问题讨论】:
-
请帮忙。
-
它应该来自
ContentDefinition Id="api.selfasserted"。如果您想自定义它,请查看此答案:stackoverflow.com/questions/46798311/…。 -
嗨,是的,它应该在 api.selfasserted 中,但是你有我可以在本地化文本中输入的字符串 id。我在 MS 文档中找不到 id。
标签: azure-ad-b2c identity-experience-framework azure-ad-b2c-custom-policy