通过Iframe自动登录到Tableau Server [英] Auto Sign in to Tableau Server through Iframe

查看:118
本文介绍了通过Iframe自动登录到Tableau Server的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将访客用户的登录名嵌入到Tableau Server的应用程序中.嵌入代码如下所示.我知道我需要某种能够将用户名和密码传递给 div 的jQuery,但我不确定如何做到这一点.

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 div, I am just not quite sure how to do that.

<script type='text/javascript' src='https://tableau.quantgov.org/javascripts/api/viz_v1.js'></script> 
<div class='tableauPlaceholder' style='width: 1000px; height: 827px;'>
  <object class='tableauViz' width='1000' height='827' style='display:none;'>
  <param name='host_url' value='https%3A%2F%2Ftableau.quantgov.org%2F' /> 
  <param name='embed_code_version' value='3' /> <param name='site_root' value='' />
  <param name='name' value='SignificantRulesTracker&#47;Dashboard1' />
  <param name='tabs' value='no' /><param name='toolbar' value='yes' />
  <param name='showAppBanner' value='false' />
  </object>
</div>

该嵌入代码导致需要用户身份验证.由于我不想将可视化设置为私有,因此我想嵌入凭据,以自动登录使用该页面并启用Cookie的任何人.一些重要说明,我已经设置了SAML身份验证以及用户身份.我也无法使用Tableau Public,因为我需要Tableau Server的某些功能.以下页面: quantgov.org/embed-test 提供了该嵌入的实时示例.

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: quantgov.org/embed-test has a live example of this embed.

推荐答案

一段时间后,我想跟进这个问题.Tableau使我尝试做的事情变得非常困难,我强烈建议,任何希望产生面向公众的数据可视化效果的中小型数据商店,都与Tableau的路线不同.

I wanted to follow up with this question after some time. Tableau makes what I was trying to do EXTREMELY difficult and I highly suggest that any small to medium size data shop that is looking to produce public facing data visualizations looks a different route than Tableau.

经过大量的挖掘和讨论以寻求支持.Tableau Server是Tableau系列中唯一提供嵌入在可视化文件中的SAML身份验证功能的产品.问题在于,仅购买少量服务器密钥的个人无法使用特定功能.为此,组织需要购买大量的密钥.因此,从本质上讲,代码在这里从来就不是真正的问题.最终,关于某些购买的软件包附带的功能,Tableau方面的文档非常不清楚.

After a good deal of digging and talking to support. Tableau Server is the only product in the Tableau family that provides the ability for SAML authentication that is embedded within visualizations. The catch is that specific feature is not available to an individual that only purchases a small amount of server keys. To make this happen, an organization needs to purchase an extremely high amount of keys. So in essence, the code was never really an issue here. It ended up being very unclear documentation on the Tableau side about the capabilities that come with certain purchased packages.

这篇关于通过Iframe自动登录到Tableau Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆