TrustedAuthTokenCookieless issue
Hi, I changed the authType prop from AuthType.TrustedAuthToken to AuthType.TrustedAuthTokenCookieless in the embedded component initialization so our users don't get the 3rd party cookies issue but now our embedded components (LiveboardEmbed, AppEmbed on different pages) won't load and we see the
User is not logged in message
. Nothing about our authentication backend changed. This is time critical, can you help us understand how to fix this?5 Replies
Changing the authType back to
AuthType.TrustedAuthToken
clears the issue, but then we're back to users having to allow 3rd party cookies.@billsaysthis Are you using V2 endpoints to generate the auth token?
https://developers.thoughtspot.com/docs/trusted-auth-sdk#_cookieless_and_cookie_based_authentication
Cookieless authentication only works with login tokens returned from the REST API v2 endpoint, while cookie-based authentication works with tokens obtained via REST API v1 or v2 endpoints.
I'll check with the backend dev.
Sure, in the meantime I would continue to use
TrustedAuthToken
as that is a working solution. Both V1 and V2 endpoints can be used after the session is established, but to begin the session you'll need to use the V2 auth.
https://developers.thoughtspot.com/docs/api-authv2
Do you have a DEV / NP environment of your application where you're able to test these kinds of changes out, so that new feature implementation is not a time-critical event in the future?We do but this change went into a release that's going out to customers today.
This thread cn be closed, we switched to the v2 API.