[英]Azure B2C Custom Policy Introduce New claim
My team is very new to Azure B2C and we are trying to work through figuring out how we can further customize custom policies. 我的团队是Azure B2C的新手,我们正在努力弄清楚如何进一步自定义自定义策略。 In this instance we have create a custom password change policy using this walkthrough: https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-reference-password-change-custom .
在这种情况下,我们使用以下演练创建了自定义密码更改策略: https : //docs.microsoft.com/zh-cn/azure/active-directory-b2c/active-directory-b2c-reference-password-change-custom 。 As an experiment I want to alter the user journey to only execute a step, in this case the step to actually change the password, if a certain claim exists.
作为实验,我希望将用户旅程更改为仅执行一个步骤,在这种情况下,如果存在特定声明,则实际上是更改密码。 I arbitrarily chose the "state" property as the claim I want to check.
我任意选择“州”属性作为要检查的声明。 I understand how to add a "PreCondition" to the user journey steps to check if a claim exists, what I can't figure out is how to make the "state" claim exist at that point.
我了解如何在用户旅程步骤中添加“前提条件”以检查是否存在声明,但我不知道的是如何使“状态”声明在那时存在。 I hope I am explaining in a way that makes sense, any help is appreciated.
我希望我以一种有意义的方式进行解释,感谢您的帮助。
This is very deepl technical content and SO is not the place to ask how to solve it, before you even tried it. 这是非常深入的技术内容,因此在尝试之前,不是要问如何解决的地方。
Since you already got yourself familiar with the general complexity of custom policies, you may want to check this source here . 由于您已经熟悉了自定义策略的一般复杂性,因此您可能需要在此处查看此源 。 It contains a lot of complex scenarios - all implemented in the public demo site https://aka.ms/aadb2cdemo
它包含许多复杂的场景-所有场景都在公共演示站点https://aka.ms/aadb2cdemo中实现
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.