Login Prompt When Embedding Tableau Server in portals
When embedding the Tableau Server interface in a portal, accessing pages of Tableau Server, such as http://[tableau-server]/views returns a login prompt.
This is the same information from Tableau Technote but I am saving for reference as I faced the issues and solved with the steps.
Environment
- Tableau Server
- Trusted authentication
Resolution
To resolve this issue, enable unrestricted tickets. However, before you complete the following steps, see the cautionary note below them.
Unrestricted tickets can be enabled by using the Command Prompt from Tableau bin directory, and using the following commands in the order listed.
tabadmin set wgserver.unrestricted_ticket true
tabadmin config
tabadmin restart
Caution: Although trusted ticket is good for accessing one particular view, unrestricted tickets create a normal user session when redeemed. This presents a risk in that, if a user can obtain a ticket for an administrator account, the ticket will give the user unrestricted access to the Tableau Server. With a standard trusted ticket, even administrators can access only views.
Cause
This issue occurs when Tableau Server is configured to use trusted authentication. By default, trusted authentication works for single views only.
Additional Information
When wgserver.unrestricted_ticket is set to true, it mimics a single sign-on (SSO) authentication. This allows a user to authenticate on Tableau Server through the trusted ticket process until the user logs out, or the session expires.
Comments
Post a Comment