connector-plugin-sdk
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
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.
W-14687609
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