connector-plugin-sdk icon indicating copy to clipboard operation
connector-plugin-sdk copied to clipboard

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

Open shaimaamdsp opened this issue 1 year ago • 2 comments

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 <redirectUrisDesktop> 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.

shaimaamdsp avatar Dec 17 '23 16:12 shaimaamdsp

W-14687609

lukewrites avatar Jan 05 '24 17:01 lukewrites

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

zsun-tableau avatar Aug 14 '24 22:08 zsun-tableau