In my scenario, developpers implemented JWT token decode functionality in Client side by using Java script.
I got that java script code for jwt token decode and when i try to execute using web_js_run(),It giving following error:
Test.js:6:TypeError: window.atob is not a function [MsgId: MERR-26000]
the JS engine used by LR is unable to identify the window.atob() function. But this is working fine in browser console and other js consoles.
Im pasting js code here. please have a look and help me on this ASAP.
Js File: Test.js
const base64Url = jwtToken.split('.');
const base64 = base64Url.replace('-', '+').replace('_', '/');
const token = window.atob(base64);
Implementaion on Action.c file
Please help me on this.