Khoros Atlas Logo

New Commentator

Decoding a value using freemarker in a component or endpoint

From a response, I am getting a property (sso_id) whose value is coming encoded ( is coming as 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.

0 Kudos