What is the function that base64 decode and encode a string for the dashboard’s rules? I am trying to get a hold of the state parameter which is passed in encoded.
ATOB and BTOA is not working.
var state = JSON.parse(atob(state));
This is yelling at me and stating that atob is not a function. Is there some library that I need to include within my script in the rules? Is there some other function I can use instead?