1 Reply Latest reply on Sep 7, 2018 4:16 AM by Thato Morare

    Embedded workbook using trusted tickets, javascript api and php gives doesnt load the workbook.

    Thato Morare

      Hi.

       

      Ive published a workbook to tableau server which I've embedded into a webpage. I then need to to enable a sort of "auto login" which I have (somewhat) achieved by using trusted authentication by following the online guide. I have a PHP script that requests and retrieves the ticket, If I copy the ticket with the URL and paste that into the browser it works fine and the view displays. however when I use the javascript api I get an error in the browser "Refused to execute script from 'http://192.168.1.200:8000/views/embeddedErrorPage.js?0qw0do5qvo0g' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled." Does anyone know how to resolve this?