Skip to content

Add JWT sign in method for Tableau provider #51453

Closed

Description

@alexsweet

Description

Tableau Server Client python library deprecated the PAT based login method in favor of moving programmatic logins to JWT authentication.

Add an authentication method in the Tableau airflow provider to support the JWTAuth class of the tableau server client. This should follow a similar method to the other auth methods, and should look for jwt being present within the connection details.

Use case/motivation

This provider removed PAT authentication in v5.0.0, which leaves Tableau cloud users with no method of programmatically using this airflow provider as the basic authentication method of username/password forces MFA to happen.

Related issues

Related to prior issue asking for the PAT method to be reinstated; #25904

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:feature
    needs-triage
    on Jun 5, 2025
  2. boring-cyborg commented on Jun 5, 2025

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

  3. dominikhei commented on Jun 6, 2025

    @dominikhei
    Contributor

    I can have a look at it, if no ones working on it so far.

  4. dominikhei commented on Jun 6, 2025

    @dominikhei
    Contributor

    I have implemented the logic, however airflow currently uses tableauserverclient v0.25 and the JWTAuth method is only available starting with v0.27, meaning we would need to bump it, as the pyproject.toml of the provider states:

    dependencies = [
        "apache-airflow>=2.10.0",
        "tableauserverclient>=0.25",
    ]
    
  5. eladkal commented on Jun 13, 2025

    @eladkal
    Contributor

    It shouldn't be a problem, you can start a PR for the feature and include updating the minimum version

  6. added and removed
    needs-triage
    on Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions