Leslie Chiang
Leslie Chiang
TFDThoughtSpot For Developers
Created by Leslie Chiang on 11/13/2024 in #dev-help
QQ - what triggers `AuthFailureType.
I also see that you are in the #cust_spotnana_ext Slack channel - feel free to communicate there as I check messages there more frequently
29 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 11/13/2024 in #dev-help
QQ - what triggers `AuthFailureType.
Hi @utsav.kapoor - ticket number is 00377875
29 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 11/13/2024 in #dev-help
QQ - what triggers `AuthFailureType.
@Justin Mathew @utsav.kapoor - can we increase the idle timeout to the max for now (3 hours?) We'd like to at least decrease the frequency users are running into this issue in the near term, since our workaround attempt did not successfully resolve the issue and we are waiting until after the holidays to have a meeting.
29 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 11/13/2024 in #dev-help
QQ - what triggers `AuthFailureType.
@Justin Mathew I'm not sure that's the case - we do keep state if TS is initialized and only render if initialized (after we get the login success event). For idle timeout, I tried resetting state to not initialized (removing the rendered embed) when the timeout starts occurring, but every attempt to reinitialize fails afterwards
29 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 11/13/2024 in #dev-help
QQ - what triggers `AuthFailureType.
Okay, thank you both! I will continue to test out different approaches from our side and look forward to the call
29 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 11/13/2024 in #dev-help
QQ - what triggers `AuthFailureType.
Okay, thank you! One last question, though I think I can work around this - the type of loginFailedMessage is string - would i put quotes around to convert any JSX into a string? Can you confirm if it will render a ReactNode?
29 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 11/13/2024 in #dev-help
QQ - what triggers `AuthFailureType.
I just saw there is a HostEvent.Reload event - will this trigger auth to help the user recover or do we need a full re-render of the component? ty!
29 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 11/13/2024 in #dev-help
QQ - what triggers `AuthFailureType.
Thank you @Justin Mathew - I'll look into the reload suggestion. Is there a way send a HostEvent to trigger auth again, or would this require reloading the Embed component? For the uptick, this is just based on user feedback - people are complaining more and more that they are running into the loginFailedMessage; we have not beeing logging this event continuously so can't verify with numbers
29 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 11/13/2024 in #dev-help
QQ - what triggers `AuthFailureType.
Okay, thank you - I will check in with my team to see what value we might want to increase the idle timeout to. I think that will reduce the impact the timeout is having, we would likely still want to understand how we should configure the embed to gracefully recover once the user is active again, instead of keeping the authentication error message up
29 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 11/13/2024 in #dev-help
QQ - what triggers `AuthFailureType.
3) We have not set authenticatedIdleTimeoutMs - is this something we should set to override? Can we remove the Idle timeout completely and just rely on token validity and automatic retry when no longer idle?
29 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 11/13/2024 in #dev-help
QQ - what triggers `AuthFailureType.
Thank you for following up! Token validity we have tested increasing to 60 hours, and it still gives us an error in ~1 hour.
29 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 11/13/2024 in #dev-help
QQ - what triggers `AuthFailureType.
@priyanshu.kumar - what can be done to help us understand the changes that need to be made in order to reduce the number of auth errors? Can we schedule some time to troubleshoot in real time? Would traceIds of the failing session/info calls help?
29 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 11/13/2024 in #dev-help
QQ - what triggers `AuthFailureType.
Thank you for checking, we are using 1.33.0 . When using TrustedAuthToken, we get the AuthFailureType.OTHER after about an hour of inactivity.
29 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 11/13/2024 in #dev-help
QQ - what triggers `AuthFailureType.
Thanks @priyanshu.kumar ! How about for AuthType.TrustedAuthToken? We have autoLogin set to true, but do we expect this event to occur first, and then for the SDK to try to authenticate?
29 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 10/31/2024 in #dev-help
We seem to be running into an issue
Just sent via DM
13 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 10/31/2024 in #dev-help
We seem to be running into an issue
Okay, I'll open a support case for these as well - the results are wrong/mix of right and wrong, but consistently so.
13 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 10/31/2024 in #dev-help
We seem to be running into an issue
Sorry for the delay - I was trying out some other changes in conjunction - switched to TrustedAuthCookieless and tokenizedFetch and the results were consistently wrong there - with both tsUsername and userGUID. Overall we would like to switch to the Cookieless approach as we've been running into a lot of issues in multiple tabs and instances with the Cookie approach. Do you need me to send sample HAR files for the issues there? or would the trace ids do?
13 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 10/31/2024 in #dev-help
We seem to be running into an issue
Thank you for your work on this. Right now we don't have access to the userGUID in our frontend so I am unable to check this. Once we move this to a backend request we would be able to send userGUID
13 replies
TFDThoughtSpot For Developers
Created by Leslie Chiang on 10/31/2024 in #dev-help
We seem to be running into an issue
Opened case 00376733
13 replies