tableau / connector-plugin-sdk

SDK for Developing Tableau Connector Plugins
https://tableau.github.io/connector-plugin-sdk/
MIT License
108 stars 107 forks source link

[BUG] Tableau intercepts 401 replies to JDBC driver after OAuth authentication #1109

Closed petroav closed 1 year ago

petroav commented 1 year ago

Describe the bug This specifically relates to the interaction between Trino and its JDBC driver.

Trino and the JDBC driver have a protocol between themselves, wherein at certain times Trino replies with a 401 and a WWW_AUTHENTICATE header. The header contains a URL that the JDBC driver is expected to query in order to get an updated authentication token. This interaction works fine in tools like DBeaver where we use the JDBC driver as well. However, with Tableau something is interfering with the above protocol and the URL returned by Trino is never queried by the driver. This leads me to believe that Tableau may be intercepting 401 replies and isn't forwarding them to the driver.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

About you: Name: Anton Company: Starburst Data

lukewrites commented 1 year ago

Internal tracking: W-13546955

jkoskela commented 1 year ago

Just saw this. We are not intercepting HTTP requests for the driver. Is this still an issue?

jkoskela commented 1 year ago

I have started a conversation about all of these issues in our shared slack channel. If this is still an issue let's discuss it there. Resolving.