Library | Loom - 23 September 2024
In the first phase of our project, the user will log in through our application. In the background, we will call our backend API to retrieve the ThoughtSpot (TS) token using our TS secret key. With the token, we will initialize the ThoughtSpot Visual SDK using the following configuration:
init({
thoughtSpotHost: "https://abc.thoughtspot.cloud",
authType: AuthType.TrustedAuthToken,
authEndpoint: "https://run.mocky.io/v3/{userId}",
});
After successfully logging in through the Visual SDK, the user will be redirected to https://abc.thoughtspot.cloud, where they should already be authenticated within the main ThoughtSpot cloud platform.
However, this approach wasn't working a few days ago. Can you confirm if the ThoughtSpot team has addressed any related issues?
I have also attached a vide for the reference.
https://www.loom.com/share/b66b37706e534651a2f0db41a6368c3d?sid=f678f56a-4f5d-4ba0-aeaf-b98ef88cc7d13 Replies
Is this approach working now? Can you help explain the issue you are facing?
Yes this approach is working now. It was also functioning well about three weeks ago, but after your last deployment on September 8th, it stopped working. Could you please let me know what changes were made?
Can you give the HAR file here when you do see this issue again. From what I remember it was a bad request from the HAR file I got from the SRE that time.