samples icon indicating copy to clipboard operation
samples copied to clipboard

How to remove Hyphen from Client ID in B2C custom policy ?

Open HoaiTriHo opened this issue 2 years ago • 0 comments
trafficstars

Hi, In Azure B2C custom policy I want to remove hyphen '-' from clientId claimtype and assign it to another claimtype

Eg: Input: e8023a66-30ed-4e31-a17e-c013081704a0 Ouptut : e8023a6630ed4e31a17ec013081704a0

I am using FormatStringClaim transformationmethod in ClaimsTransformation to remove hyphen but the value is still include hyphen. Could you please help me in removing hyphen ?

Thank you

HoaiTriHo avatar Dec 27 '22 07:12 HoaiTriHo