Skip to content

Conversation

@rubywerman
Copy link

@rubywerman rubywerman commented Dec 20, 2025

In December 2025, we added UAT, a new JWT-based auth type for Tableau Cloud: https://help.tableau.com/current/api/cloud-manager/en-us/docs/unified_access_tokens.html

@BereketBirbo added UAT to the TSC library here: https://github.com/tableau/server-client-python/pulls?q=is%3Apr+author%3ABereketBirbo+is%3Aclosed., which has been merged into the development branch.

This MR updates the docs to show the new parameter, and fixed a formatting issue on the PAT section (the table wasn't showing up)
Before:
Screenshot 2025-12-19 at 5 01 06 PM
After:
Screenshot 2025-12-19 at 5 01 41 PM
JWT updates:
Screenshot 2025-12-19 at 5 01 58 PM

@salesforce-cla
Copy link

Thanks for the contribution! It looks like @ruby-sf is an internal user so signing the CLA is not required. However, we need to confirm this.

@bcantoni
Copy link
Contributor

Close and reopen to see if it fixes the CLA issue.

@bcantoni bcantoni reopened this Dec 23, 2025
@bcantoni
Copy link
Contributor

The plan is for @jacalata to merge this when we publish the next release.

@bcantoni bcantoni added the docs label Dec 23, 2025
Copy link
Contributor

@bcantoni bcantoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rubywerman I added a couple more suggested improvement here


```py
class JWTAuth(Credentials):
def __init__(self, jwt=None, site_id=None, user_id_to_impersonate=None):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add isUat here as well

import tableauserverclient as TSC

# Connected App JWT
tableau_auth = TSC.JWTAuth('JWT', 'SITENAME')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest making both of these examples more clear by providing the argument name as well (better practice), jwt='JWT', etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants