Configure JSON Web Token (JWT) Authentication for Tableau Plugin
This article provides instructions on how to configure Tableau auth with a JSON Web Token (JWT).
NOTE:
- JWT Authentication works only for embedding. For the actual Tableau API integration, use one of the following options:
- Username/Password;
- Identity Profile;
- Personal Access Token.
- JWT Authentication is available only for Tableau 2022.1 and later.
Using the Tableau API that is not distributed with the system can run with errors.
For troubleshooting, refer to this article.
1. Add New Connected App
Access Tableau Home
- Go to Settings
- Access the Connected Apps tab
- Click [New Connected App]
- Provide a descriptive Connected app name
- Specify Access level. You can choose to connect to all projects or to specific ones
- Define Domain allowlist if you need to limit access to content for specific domains
- [Create]
2. Generate New Secret and Enable the App
- [Generate New Secret]
- Access the menu to Enable the application
3. Save Parameter Values in Tableau Data Source
Copy the required Parameter values to Tableau Data Source and save your changes
IMPORTANT:
- Username in MI must exactly match the one on the Tableau side OR must be specified in User Editor under Username for Trusted Server Sign-on.
- To create an External Report with the JWT auth:
- Intermediate Page for Tableau External Report Type must be set to "Tableau JWT";
- URL template in the Tableau External Report Editor must be set to "Tableau Workbooks".