pp_01
6 years agoMentor
Decoding a value using freemarker in a component or endpoint.
Hey all.
From a response, I am getting a property (sso_id) whose value is coming encoded (cscuser2@gmail.com is coming as cscusers2@gmail.com) which is causing some real problems if I want to validate that if this sso_id exists either through V1 or V2 call because even if I'm trying to use utils.base64.encode(sso_id) or utils.base64.decode(sso_id) for encoding and decoding and then passing the sso_id into V1 or V2 calls it still gets encoded and I'm not able to validate. The case is the same if I try to achieve it in a component or an endpoint. If there any other way to do this then please let me know.
Thanks in advance.