简体   繁体   English

Azure B2C 自定义策略,在 Output 声明中添加自定义用户属性

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

相关问题 通过图形向 Azure AD B2C 中的用户流声明添加自定义用户属性 - Add custom user attribute to claims of user flow in Azure AD B2C via graph 如何将自定义声明添加到 azure b2c 访问令牌? - How to add custom claims to azure b2c access token? 将自定义声明添加到 azure b2c 客户端凭据流 - Add custom claims to azure b2c client credentials flow 即使没有 Azure AD 用户,Azure AD B2C 自定义策略理论上能否从社交 IDP 声明中生成令牌? - Could an Azure AD B2C custom policy theoretically produce a token from social IDP claims even without an Azure AD user? Azure Active Directory B2C自定义邀请策略 - 在步骤之间传递自定义声明 - Azure Active Directory B2C Custom Invite Policy - Passing Custom Claims Between Steps azure B2c无缝用户迁移自定义策略错误 - azure B2c Seamless user migration custom policy error Azure B2C 自定义 saml 策略:每个应用程序的声明不同 - Azure B2C custom saml policy: Different claims per App Azure B2C 自定义政策 - 从 email 决定索赔交换 - Azure B2C Custom Policy - from email decide claims exchange Azure B2C 自定义策略 - ID/访问令牌未通过刷新令牌获得最新声明 - Azure B2C Custom Policy - ID/Access tokens are not getting latest claims through Refresh Token B2C 自定义策略“忽略”索赔交换 - B2C custom policy 'ignoring' claims exchange
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM