sagilaufer - what is the recommended way switch...

what is the recommended way switch tokens for a user after the call for init()? we want to use different tokens, that have access to different groups, in different pages of the application
3 Replies
utsav.kapoor
utsav.kapoor5d ago
Are you doing a full app embed and when moving from 1 page to another, you want different permissions ?
shikharTS
shikharTS4d ago
Also, if you are embedding TS in different pages of the application, I suggest to call the logout api and then init again using a token you want https://developers.thoughtspot.com/docs/Function_logout#_logout
sagilaufer
sagilauferOP2d ago
we'll try that approach, thank you for the help

Did you find this page helpful?