server-client-python icon indicating copy to clipboard operation
server-client-python copied to clipboard

ENHANCEMENT: Update users database oAuth tokens

Open cpare opened this issue 5 months ago • 0 comments

Summary

oAuth tokens expires every 90 days requiring a human to update them. Humans are notoriously unreliable and flawed in design, request an enhancement to bypass them.

Request Type

Enhancement as this doesn't appear to be part of the API

Type 3: new functionality Per Tableau Support: "Tableau’s SDKs, including the Tableau Server Client (TSC), do not currently support refreshing or renewing OAuth tokens. However, it may be possible to programmatically request a new OAuth token from Snowflake using the Client Credentials grant flow through a Python script or similar method, outside of Tableau." - Case #470743972

Description

Running an automated orchestration (e.g., via Airflow, scripts, etc.) that refreshes Tableau datasource objects. Sometimes this fails because the OAuth token used to authenticate with Snowflake has expired. When this happens drama ensues. I'd like to automatically refresh the token before the extract refresh runs to avoid these types of failures.

cpare avatar Jun 13 '25 17:06 cpare