Azure-Samples / active-directory-b2c-advanced-policies

Sample for use with Azure AD B2C with Custom Policies.
http://aka.ms/aadb2ccustom
MIT License
217 stars 143 forks source link

Append input Claim value to createstringclaim transformation InputParameter value #83

Open cyrilmatthew26 opened 2 years ago

cyrilmatthew26 commented 2 years ago

Is it possible to add a input Claim value email to a input parameter value which contains a localized string id https://docs.microsoft.com/en-us/azure/active-directory-b2c/string-transformations#createstringclaim

Code I'm trying which doesn;t work. The "SendPasswordResetLink" is part of the LocalizedCollection which contains a string value. I want to attach the "email" claim value at the end. (I've tried adding email as an input claim and including it as {0} to the InputParameter but it doesn't seem to accept.)

 InputParameter Id="value" DataType="string" Value="SendPasswordResetLink {0}"