Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Is there a limitation of <oauthConfigId> #526

Open
xsgao-github opened this issue Jun 16, 2023 · 0 comments
Open

[Question] Is there a limitation of <oauthConfigId> #526

xsgao-github opened this issue Jun 16, 2023 · 0 comments

Comments

@xsgao-github
Copy link

I tried to add a custom OAuth config per this doc https://tableau.github.io/connector-plugin-sdk/docs/oauth#create-site-oauth-client-20231. Tableau server (2023.1) shows "change saved" after clicking the "save" button. However, the OAuth config is not showing up after refreshing this page. It turned out that my <oauthConfigId> is too long - 47 characters ([a-z_]) including custom_. After changing it to 36 chars, I can add and see it in the connection dialog.

This limitation is not documented in the following table and there is no error when applying changes failed on the Tableau server UI.

Name Type Meaning Required Notes
oauthConfigId String Unique ID for this OAuth config Recommended New in Tableau 2023.1. This is a required attribute if there are multiple OAuth configs defined for a connector. When using an external/custom config this must begin with the prefix “custom_”.

Would you please verify there is a limitation of the number of characters? Is there any other limitation of other elements, e.g. <configLabel>?

And please display the error if saving OAuth config failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant