Loading

Tableau Cloud Hosted MCP Server Requires Re-authentication After Periods of Inactivity

Publiseringsdato: Oct 14, 2026
Beskrivelse

An AI client connects to the Tableau Cloud hosted MCP Server using OAuth 2.0 and operates as expected. However, when the client attempts to reconnect after an extended period of inactivity, such as overnight or over a weekend, authentication may fail.

The following behavior may be observed:

  • A refresh token request to https://sso.online.tableau.com/oauth2/token fails with an invalid_grant error.

  • The MCP server returns the message 'credential has been invalidated', 're-authentication is required' in response to an initialize request.

  • The issue typically occurs after approximately 24 hours without refresh token usage.

  • Clients that regularly use their refresh tokens and complete token rotation continue to operate as expected.

 

Environment

The behavior has been observed in the following configuration:

  • Platform: Tableau Cloud

  • Authentication: OAuth 2.0 authorization code flow with PKCE

  • Client registration: Client ID Metadata Document

  • Token management: Refresh-token grant with rotating refresh tokens

Løsning

We are investigating this issue under ID W-23370605. With the current behavior, clients that do not use their refresh tokens for approximately 24 hours may need to reconnect and re-authenticate.

While this behavior is investigated, AI clients should manage their refresh tokens and initiate token refresh requests as needed to maintain authentication. If a refresh token has been invalidated, the client must complete the authentication flow again.

Knowledge-artikkelnummer

005461732

 
Laster
Salesforce Help | Article