Patrick Zuar
TFDThoughtSpot For Developers
•Created by Patrick Zuar on 3/4/2025 in #dev-help
Patrick Zuar - Hi there, Does someone have sa...
@shikharTS also how sure are you that this statement is true: Trusted auth scheme does not allow to switch between orgs
From the "Multi-tenancy with Orgs" documentation:
"Starting from 9.2.0.cl, ThoughtSpot supports generating separate secret keys for each Org. To enable this feature on your instance, contact ThoughtSpot Support. When this feature is enabled, Org users can obtain separate authentication tokens to access their Org and switch between Orgs seamlessly."
Source: https://developers.thoughtspot.com/docs/orgs
The documentation explicitly mentions that users can switch between organizations when using trusted authentication:
"If a user belongs to multiple Orgs, they will see a menu allowing them to switch between the Orgs they belong to."
The trusted authentication documentation also explains that you can define the Org context for a user during authentication:
"The /tspublic/v1/session/auth/token API endpoint also allows you to define the Org context to which the user must be logged in to after successful authentication."
For reference, you can find this information at:
https://developers.thoughtspot.com/docs/orgs
https://developers.thoughtspot.com/docs/trusted-auth-sdk
https://docs.thoughtspot.com/software/latest/trusted-authentication
8 replies
TFDThoughtSpot For Developers
•Created by Patrick Zuar on 3/4/2025 in #dev-help
Patrick Zuar - Hi there, Does someone have sa...
<div class="wrapper">
<section class="content-section">
<div class="panel">
<h3>Organizations</h3>
<div id="org-list" class="panel-content">Loading organizations...</div>
</div>
<div id="org-switcher" class="panel" style="display: none;">
<h3>Switch Organization</h3>
<div class="panel-content">
<div class="current-org-info">
<span class="label">Current:</span>
<span id="current-org-name" class="value">Loading...</span>
</div>
<div class="switcher-controls"> <select id="org-select" class="org-dropdown"></select> <button id="switch-org-btn" class="action-button">Switch</button> </div>
<div id="switch-status" class="status-message"></div> </div> </div> <div class="panel"> <h3>Liveboards</h3> <div class="panel-content"> <div id="liveboard-loading" class="loading">Loading available liveboards...</div> <div id="liveboard-buttons" class="liveboard-buttons"></div> <div id="ts-embed" class="liveboard-container"></div> </div> </div> </section> </div>
<div class="switcher-controls"> <select id="org-select" class="org-dropdown"></select> <button id="switch-org-btn" class="action-button">Switch</button> </div>
<div id="switch-status" class="status-message"></div> </div> </div> <div class="panel"> <h3>Liveboards</h3> <div class="panel-content"> <div id="liveboard-loading" class="loading">Loading available liveboards...</div> <div id="liveboard-buttons" class="liveboard-buttons"></div> <div id="ts-embed" class="liveboard-container"></div> </div> </div> </section> </div>
8 replies
TFDThoughtSpot For Developers
•Created by Patrick Zuar on 3/4/2025 in #dev-help
Patrick Zuar - Hi there, Does someone have sa...
I am using Trusted auth as my portal app stores the api key/ username / thoughtspot URL and we use our own auth login for the portal.
What auth method would you recommend for an embedded application where the users will switch orgs regularly?
in my code i can get the org switching and auth to work for all elements but tha actual liveboard which is presenting the TS GUI version of org selector
thank you in advance @shikharTS
8 replies