tableau / connector-plugin-sdk

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

How to Configure Multiple Redirect URIs, Including a Non-'localhost' URI, for OAuth2 Authentication in Tableau Custom Connector Plugin #1209

Open shaimaamdsp opened 9 months ago

shaimaamdsp commented 9 months ago

About You: Name: Shaimaa Mohamed Company: Data Street Partners

Your question: In relation to the integration of OAuth2 authentication within our Tableau custom connector plugin, we encounter a specific requirement. Our aim is to configure multiple entries within the oauthConfig.xml file. This configuration is essential to ensure the successful capture of the response carrying the access token within Tableau, along with facilitating other specified redirect URIs. Notably, one of these redirect URIs must be configured to be distinct from 'localhost'. Could you provide guidance on the appropriate methodology to achieve this configuration.

lukewrites commented 9 months ago

W-14687609

zsun-tableau commented 1 month ago

Hi Shaimaa, currently for tableau desktop we only support localhost or http loopback as oauth redirectUri. You can configure multiple localhost(or http loopback) redirectUris with different ports tho. More details: https://tableau.github.io/connector-plugin-sdk/docs/oauth#redirecturisdesktop-format, https://tableau.github.io/connector-plugin-sdk/docs/oauth#example-oauthconfig-file