Hello team , customer notices that the
Hello team , customer notices that the embedded TS UI in out product gets timeout and a login appears. They want to know if there is a way to stop TS timing out and logging user out ?
8 Replies
What type of Auth is the customer using?
Trusted authentication
Check this out https://developers.thoughtspot.com/docs/api-authv2#bearerToken. You can give the validity_time_in_sec parameter to get the token for a longer duration and it should not log out the user for that duration.
Otherwise you can use the TrustedAuthCookieless auth mechanism which should automcatically reauthenticate the user if the user session gets expired..
REST API v2.0 authentication
REST v2 APIs support basic and token-based authentication methods.
EmbedConfig
The configuration object for embedding ThoughtSpot content. It includes the ThoughtSpot hostname or IP address, the type of authentication, and the authentication endpoint if a trusted authentication server is used.
@shikharTS @ashish , thanks for your response, this is what I receive from customer when I ask
What is the approximate time for auto logout currently?
Do you want to eliminate session timeout completely?
Authentication type for TS embedded.
can you help here to understand why this might be hapenning , when they click back on the tile analytics (within which they have UI embed) it shows login window. Is this some bug or any setting ?
@Justin Mathew
Hi @Shubham :
Could you please confirm the AuthenticationType being used here?
If the customer is using TrustedAuthCookieless with autoLogin set to TRUE, the system will automatically generate a new token when the current one expires. This ensures that the user will never see the login page, even if the token expires. Refer to https://developers.thoughtspot.com/docs/Interface_EmbedConfig#_autologin for more details.
However, if they are only using TrustedAuthToken, we can look into the default session timeout set for the customer’s cluster. If needed, we can extend the idle timeout to a different value using TSCLI.
For the best experience, we generally recommend using TrustedAuthTokenCookieless. Also, ensure that the customer is using the latest version of the visual-embed-sdk.
@Justin Mathew : Please add more if needed.
Got it , thank you so much team !