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
I don't think this should be happening.. Can we get on a call to check this? cc @priyanshu.kumar
yeah..we can
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
Howdy y'all - any way we can hop in the VC and sort this one out? We're still blocked on our end.
Yeah, is there anyway we can hop on the call. We are on a deadline to get this integrated !
Checking if @utsav.kapoor is available to get on a call..
Lets get on a call for this. are you all available around 3 PM PST ?
yes i'm available then. To confirm that's 4pm MDT?
me too!
yes!
Lets meet then
Where are we meeting boss
dm'd you a zoom link
meeting link sent - see y'all in a bit
lmk if this is resolved, or need me (current on-call) to connect.
I have added you to a call tomorrow @jbc would be helpful if you can attend it..
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
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
Or you can hardcode the token in the getAuthToken method
To get the token use the rest api v2 get full access token
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.
@Suvash lets continue the discussion on that thread..
aren't those two different issues?
Yes I think this discussion was derailed a bit..
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. 🤔
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?
Hi @shikharTS any update on this
@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?
Howdy y'all
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)
is there any way we can link up Thursday or Friday of this week?
i have some time today as well
Do you have third party cookies blocked on your browser?
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..
Can we get on a call when you are available? You can DM me the link to join..
hi is right now good?
hey sorry
I missed this. Are you available now?
Can you create a support case for this?Done
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
cc @utsav.kapoor