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

Multiple Site Registration #7

Open
isogai-k opened this issue Jan 16, 2025 · 2 comments
Open

Multiple Site Registration #7

isogai-k opened this issue Jan 16, 2025 · 2 comments

Comments

@isogai-k
Copy link

After registering site A in the Teams app, we cannot add another site B.
There are no users in common between site A and site B.
I get the following error:

Could not veriry these connected app details actually work.
Could not authenticate to Tableau as xxxxx@xxxxxx using connected app JWT
{"summary":"Signin Error","detail":"Error signing in to Tableau Server(16)","code":"401001"}

Please let me know if there is a solution.

@takashibinns
Copy link
Contributor

takashibinns commented Jan 27, 2025

First, the Tableau Site Config page (on the Configuration tab) is gated to ensure only Tableau admins can add/remove site configs. We don't want anyone accidentally removing site configs, as that would impact all users using the Teams app.

Second, when you go to add a site config we check to make sure it actually works. This test consists of the following steps:

  1. Create a JWT using the provided credentials
  2. Authenticate using that JWT, as the logged in Teams user
  3. Verify the logged in Teams user is an admin on the site we're adding

If all steps pass, we save the new site config details.

As a result, in order to get this to work you'll need 1 user who is an admin on both sites to add the site configs. You can remove that user after the configuration is saved, this is just to make sure the tests pass.

@isogai-k
Copy link
Author

Thank you for your reply.
I will try the method you provided.

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

2 participants