Suvash - Hi team, when we invoke the SDK init()...
Hi team, when we invoke the SDK init(), it creates a session in the ThoughtSpot cluster right?. One way to invalidate the session is to invoke the logout function. If not for logout, how long does the session last? Is there a way to control the session expiry time? Is there any documents around this? I couldn't find it in developer docs.
5 Replies
Furthermore, to add to this, does SDK deletes the existing session when the init() is invoked again?
session depends upon your auth scheme. can you please tell me which auth method do you use ?
for now its Basic.
the response I get frm the api is -1 so it seems never for this one. which if fine for now for us.
Got it, for Basic it will be cookie validity which is set to 30 days for now. I would suggest migrating to Trusted Auth cookieless and then you can control the session duration based on the token
sweet. thank you @utsav.kapoor . yeah thats the future plan