简体   繁体   English

Azure B2C自定义策略引入新主张

[英]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.

相关问题 Azure B2C自定义策略中的自定义角色声明 - Custom role claim in Azure B2C Custom Policy 在 Azure B2C 的自定义政策中找不到声明 - Saml - Claim not found in custom policy for Azure B2C - Saml Azure B2C:自定义声明未通过自定义策略写入 AAD - Azure B2C: Custom claim isn't written into AAD via custom policy 如何使用Azure B2C自定义策略支持OpenID Connect标准地址(JSON)声明? - How to support OpenID Connect standard address (JSON) claim with Azure B2C custom policy? 如何在 Azure B2C 密码更改自定义策略中添加 email 声明 - How to add email claim in Azure B2C password change custom policy Azure B2C:使用自定义声明查询 AAD? - Azure B2C: Querying AAD using a custom claim? 根据在 Azure B2C 自定义策略中使用声明解析器的其他输入声明设置输入声明的值 - Set value of input claim based on other input claim that uses claimresolvers in Azure B2C Custom policies 如何编写在添加新用户时触发的 Azure B2C 自定义策略 - How to write an Azure B2C custom policy that triggers when a new user is added 在调用自定义声明 REST API 时包括 Azure AD B2C aud 声明 - Include Azure AD B2C aud claim in call to custom claim REST API Azure B2C - 无法从策略中的 JWT 客户端断言令牌读取“日期”声明 - Azure B2C - Not able to read "Date" Claim from JWT client assertion token in policy
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM