You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: Support Tableau Cloud Connected App (JWT) authentication #33371
Right now the Tableau connector's authType only supports Basic Auth (username/password) or a Personal Access Token. Both of these authenticate as a user which means they inherit that user's expiry/lifecycle (PATs auto-expire after a year of inactivity, break if the account is disabled, etc.).
Tableau's own guidance steers Cloud customers toward Connected Apps with direct trust (JWT) for automation/integrations instead. It's a registered service identity, not a personal token, so it doesn't ride on any one user's account.
I checked, and the tableauserverclient version already pinned in ingestion/setup.py (0.40) ships a public TSC.JWTAuth(jwt, site_id, user_id_to_impersonate) class, so this looks like it'd slot in cleanly next to the existing BasicAuth/AccessTokenAuth branches in connection.py no private API needed.
Proposal:
New JwtTokenAuth credential type (issuer/private key/etc.) alongside basicAuth/accessTokenAuth in tableauConnection.json
Sign a short-lived RS256 JWT with the service-account private key and pass it to TSC.JWTAuth
No change to existing PAT/basic-auth behavior
Let me know if there's a preferred shape for the credential schema or anything I should check first. I am working on this change!
Activity
Fixes 33371: Tableau connected app (direct trust JWT) sign-in (open-m…