Sai Venkat Burle - Hi Everyone ,What is the sta...
Hi Everyone ,What is the standard way of tracking AuthStatus in TrustedAuthentication .AuthStatus.SDK_SUCCESS doesn't fire on relogin after token expiry
1 Reply
AuthInit is only fired during:
-- Fresh login
-- New tab with existing session
-- Service worker detects preauth info change
If you need to track token refreshes, you may need to monitor the token generation endpoint calls or listen to the AuthExpire event, followed by successful API responses
https://developers.thoughtspot.com/docs/Enumeration_EmbedEvent#_authexpire
hope it helps!
EmbedEvent
Event types emitted by the embedded ThoughtSpot application.