This is my visualize.js code for token based authentication, but it doesn"t work, please some one can help me to solve this???
Are you getting an error? Can you see the /auth call being made in your browser console?
Our token auth looks a little different than yours:
_reportService = v;
_exportFormats = v.report.exportFormats;
_handleError("An error occurred while attempting to connect to the reporting service. " + err.message, err);