Hey team,

Hey team, In the Visual SDK using Basic Authentication, when quickly clicking through different tabs in the navigation bar (e.g., Liveboards, Insights, Home), the AuthStatus.FAILURE event is emitted, causing the user to be logged out unexpectedly. We are embedding the components as parts of FullApp embed with our own navigation bar. Is this a known issue? @rumana-hf fyi
35 Replies
shikharTS
shikharTS•2mo ago
I don't think this should be happening.. Can we get on a call to check this? cc @priyanshu.kumar
Suvash
Suvash•2mo ago
yeah..we can
shikharTS
shikharTS•2mo ago
let chat in DM Had a call with @Suvash , it seems our TS SDK is randomely throwing off the AuthFailure event and then we log the user off. I could not figure out the reason. Would be good to have the FE on call go on a call with them. They don't have a support case, but have a slack channel, I asked Suvash to mention on the channel that they had a call with me and we need to have one more debugging call with our IST FE on call. cc @jbc @priyanshu.kumar @utsav.kapoor
ThatSpot
ThatSpot•2mo ago
Howdy y'all - any way we can hop in the VC and sort this one out? We're still blocked on our end.
ThisSpot
ThisSpot•2mo ago
Yeah, is there anyway we can hop on the call. We are on a deadline to get this integrated !
shikharTS
shikharTS•2mo ago
Checking if @utsav.kapoor is available to get on a call..
utsav.kapoor
utsav.kapoor•2mo ago
Lets get on a call for this. are you all available around 3 PM PST ?
ThatSpot
ThatSpot•2mo ago
yes i'm available then. To confirm that's 4pm MDT?
ThisSpot
ThisSpot•2mo ago
me too!
shikharTS
shikharTS•2mo ago
yes! Lets meet then
ThatSpot
ThatSpot•2mo ago
Where are we meeting boss dm'd you a zoom link meeting link sent - see y'all in a bit
jbc
jbc•2mo ago
lmk if this is resolved, or need me (current on-call) to connect.
shikharTS
shikharTS•2mo ago
I have added you to a call tomorrow @jbc would be helpful if you can attend it..
ThatSpot
ThatSpot•2mo ago
Howdy y'all just following up. After our call this morning we were able to get the login page to display but no login will work. We can't even switch the AuthType to BASIC. When we do it still surfaces the login, which doesn't work :l
shikharTS
shikharTS•2mo ago
It seems to be related to cookies. We need to enable third party cookies for the auth to work. If not can you check if you can implement this? https://developers.thoughtspot.com/docs/trusted-auth-sdk#_cookieless_authentication_examples
Front-end trusted authentication integration
Front-end trusted authentication integration using Visual Embed SDK
shikharTS
shikharTS•2mo ago
Or you can hardcode the token in the getAuthToken method To get the token use the rest api v2 get full access token
Suvash
SuvashOP•2mo ago
this come back to a loop. We are not able to implement the other Auth type atm, but we are progressing towards it. https://discordapp.com/channels/1143209406037758065/1307945512241991681/1308217393738416229 This particular bug is a weird one as the page loads just fine if we click on a nav button, wait for it to load and continue from there. Click on another nav button and wait for it to load and continue from there. But if we quickly click on different nav button it throws the Failure event. Basically, works fine until someone decides to go haywire with the nav buttons.
shikharTS
shikharTS•2mo ago
@Suvash lets continue the discussion on that thread..
Suvash
SuvashOP•2mo ago
aren't those two different issues?
shikharTS
shikharTS•2mo ago
Yes I think this discussion was derailed a bit..
Suvash
SuvashOP•2mo ago
I gave the trusted auth locally a try and still face that error. The only way to trigger that is clicking on nav items multiple times. Although, sometimes it does work. 🤔
No description
No description
shikharTS
shikharTS•2mo ago
cc @jbc Also it seems we are dealing with two problems from different customers in the same thread.. @ThisSpot / @ThatSpot can you create a separate thread for your CORS/Login issue?
Suvash
SuvashOP•2mo ago
Hi @shikharTS any update on this
shikharTS
shikharTS•2mo ago
@Suvash can we go through official channels for this. I have not seen any communication from internal TS channels for this issue. Can you create a support case for this?
ThatSpot
ThatSpot•5w ago
Howdy y'all
ThatSpot
ThatSpot•5w ago
this is still giving us trouble :c even with AuthType.None we get a login screen a best or more commonly we get (see screenshot)
No description
ThatSpot
ThatSpot•5w ago
is there any way we can link up Thursday or Friday of this week? i have some time today as well
shikharTS
shikharTS•4w ago
Do you have third party cookies blocked on your browser?
ThatSpot
ThatSpot•4w ago
we run into the issue even on private browsers with no cookie blocking It feels like there's a CORS issue at play. If we run a CORS disabling browser extension the embed works..
shikharTS
shikharTS•4w ago
Can we get on a call when you are available? You can DM me the link to join..
ThatSpot
ThatSpot•4w ago
hi is right now good?
shikharTS
shikharTS•4w ago
hey sorry I missed this. Are you available now?
Suvash
SuvashOP•4w ago
Can you create a support case for this?
Done
shikharTS
shikharTS•6d ago
Updating the case here @Suvash as well multiple cancelled info call can lead to this (which are happening due to new instance of embedding being created on every switch and if we switch quickly the info (first call to TS instance) call is cancelled). This can be fixed this by how you are coding navigation. We do not recommend this way to embed different parts of the application. You can use Customize full application embedding cc @rumana-hf
Customize full application embedding
Customize full application embedding
shikharTS
shikharTS•6d ago
cc @utsav.kapoor

Did you find this page helpful?