[英]Azure B2C Custom Policy , Add Custom User Attribute in Output Claims
I have created custom policy for Interactive login in Azure AAD B2C The Sign In / Sign Up works fine However now I added Custom User Attribute in my B2C thru Portal, and updated so my custom policy also for "extension_UserRole" custom policy However it is not showing in sign in as well as JWT, Below is my custom policy我已经在 Azure AAD B2C 中创建了交互式登录的自定义策略登录/注册工作正常但是现在我通过门户在我的 B2C 中添加了自定义用户属性,并更新了我的自定义策略也适用于“extension_UserRole”自定义策略但是它不是显示登录以及 JWT,以下是我的自定义政策
https://github.com/menikhilmittal/policyb2c https://github.com/menikhilmittal/policyb2c
Please suggest changes请提出更改建议
Input claims are used to pre-populate fields.输入声明用于预填充字段。
You need to give the extension attribute a value (CopyClaim? from another attribute) and have it as an output in both read and write.您需要为扩展属性赋予一个值(CopyClaim?来自另一个属性),并将其作为 output 进行读写。
If an output in sign up eg it will create a text box that you can populate.如果注册了 output,例如,它将创建一个您可以填充的文本框。
You have also used both email and login hint to populate it?您还使用了 email 和登录提示来填充它吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.