Skip to content

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

@xsgao-github

Description

@xsgao-github

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions