IBM Support

ISAM AAC BASE64Utility.decode() doesn't correctly decode a JWT

Troubleshooting


Problem

There are times when JWT need to be decoded in the ISAM AAC JavaScript mapping rules but using either of the following utilities results in missing characters :
BASE64Utility.decode(jwt);
PluginUtils.decodeBase64(jwt);
The above methods do not produce a full JWT

Symptom

The final '"' and '}' characters are missing when I base64 decode using the above methods to base64 decode.

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSZU8Q","label":"IBM Security Access Manager"},"Component":"Advanced Access Control;Federation;JavaScript Mapping;AAC;Mobile;FED;MGA;","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
24 June 2019

UID

ibm10956513