admin管理员组文章数量:1336663
I have a string collection in a custom policy.
I need to find if one of the strings in the string collection contains certain value.
The problem is that the value is /"id/" /"guid/"
. How do I introduce the "
character in the custom policy so I can use claims transformations to check for the value?``
I have a string collection in a custom policy.
I need to find if one of the strings in the string collection contains certain value.
The problem is that the value is /"id/" /"guid/"
. How do I introduce the "
character in the custom policy so I can use claims transformations to check for the value?``
- To introduce the " character in a string within an Azure AD B2C custom policy, you can escape it by using a backslash (). For example, if you want to check if a string in your collection contains the value /"id/" /"guid/", you would represent it as \/"id\/" \/ "guid\/" in your claims transformation rules. This allows you to properly include the double quotes in your string comparisons. – Rukmini Commented Nov 21, 2024 at 8:21
1 Answer
Reset to default 1Custom policies are just XML files, you should be able to use "
in the XML and B2C will interpret that as "
.
本文标签: azure ad b2cquot character in b2c custom policyStack Overflow
版权声明:本文标题:azure ad b2c - " character in b2c custom policy - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742322187a2453012.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论