Last Modified Date: 05 Jun 2020
- Tableau Online
- Embedded views
AnswerThere are two contexts, described as A and B below, where credentials can be requested when opening a view in Tableau Online. Both need to be addressed to ensure no prompt for username or password credentials occurs inside an embedded view.
A. Tableau Online User CredentialsTableau Online must be able to authenticate the viewer of an embedded view as a valid Tableau Online user before allowing the use to open the embedded view. This can result in a login screen being presented. One must use SAML SSO or Google OpenID Connect in order to authenticate the user without requiring an explicit login. IdP logins may be presented. For more information, see Authentication.
An important note:The default behavior when embedding a view using SAML or Google OpenID Connect is to display a "Sign in to <Server Name>" button in the frame. Clicking this button will open a new window where authentication with the IdP will then happen. If the button is not desired, there is another option only if using SAML and if the IdP supports in-frame authentication. If these are both true, then the site administrator can do the following to suppress the button:
- Ensure the below two options are properly configured under Settings > Authentication and clicking the "Edit Connection" link under "SAML":
- Set the Default authentication type for embedded views to SAML.
- Under Embedding options, select Authenticate using an inline frame (less secure; not supported by all IdPs).
For more information, see the section on "Embedding options" in "Enable SAML Single Sign-On for a Site".
B. Data Source CredentialsData sources used by views on Tableau Online often require credentials to authenticate access to the data source (exceptions are flat files like Excel or text files or Tableau Data Extracts which only require credentials on refresh). If a login request is not desired, the recommended solution is to set "Embedded password" for the data source when publishing.
Additional InformationEmbedding Tableau Server Dashboards into a Website without Prompting for Credentials
Discuss this article...
Thank you for providing your feedback on the effectiveness of the article.
Open new Case
Training and Tutorials