JSFiddle - React, Tailwind, and code Playground
by bkalanta
HTML
<!--Provide URL to visualize.js-->
<script type='text/javascript' src="http://localhost:8080/jasperserver-pro/client/visualize.js"></script>
JavaScript
visualize({
auth : { token : "ST-40-CZeUUnGPxEqgScNbxh9l-sso-cas.eng.jaspersoft.com"}
}, function (v){
alert("Welcome!!! Authentication with SSO token completed.");
}, function(err){
alert("Authentication FAILED!!: " + err.message);
});