title: Auto Sign in to Tableau Server through Iframe
body: <p>I am attempting embed a guest user's login to my Tableau Server's application. The embed code looks like the following. I know that I need some sort of jQuery that will pass a username and a password to the <code>div</code>, I am just not quite sure how to do that.</p>
  <pre><code>&lt;script type='text/javascript' src='https://tableau.quantgov.org/javascripts/api/viz_v1.js'&gt;&lt;/script&gt; 
  &lt;div class='tableauPlaceholder' style='width: 1000px; height: 827px;'&gt;
    &lt;object class='tableauViz' width='1000' height='827' style='display:none;'&gt;
    &lt;param name='host_url' value='https%3A%2F%2Ftableau.quantgov.org%2F' /&gt; 
    &lt;param name='embed_code_version' value='3' /&gt; &lt;param name='site_root' value='' /&gt;
    &lt;param name='name' value='SignificantRulesTracker&amp;#47;Dashboard1' /&gt;
    &lt;param name='tabs' value='no' /&gt;&lt;param name='toolbar' value='yes' /&gt;
    &lt;param name='showAppBanner' value='false' /&gt;
    &lt;/object&gt;
  &lt;/div&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/eolml.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eolml.png" alt="enter image description here" /></a></p>
  <p>That embed code leads to a need for user authentication. Since I have no want to make the visualization private, I would like to embed credentials that auto-sign in anyone who uses the page and has cookies enabled. A few important notes, I already have the SAML authentication set up as well as the user. I also cannot use Tableau Public as I need some features from Tableau Server. The following page: <a href="http://quantgov.org/embed-test" rel="nofollow noreferrer">quantgov.org/embed-test</a> has a live example of this embed.</p>