Jessica - Hi, we're using external oauth connec...
# dev-help
j
Hi, we're using external oauth connections to snowflake for building our models and dashboards and then embedding homepage, spotter, etc. in the our app. We have 2 issues: 1. when users load a dashboard they sometimes get a 401 unauthorized page and the generatetokens or authorize endpoints seem to fail - is this a known issue and is there a way to resolve this? 2. when we ask spotter a question or load a visualization from spotter it just refreshes entirely when I first ask a question and then loses the question - is this a known issue and is there a way to resolve this? *we also have automatic sign and refresh in turned on for the EA features
a
message has been deleted
j
@regan_74189 @Laurence C
j
> when users load a dashboard they sometimes get a 401 unauthorized page and the generatetokens or authorize endpoints seem to fail - is this a known issue and is there a way to resolve this? can you share the har files for this ?
generatetokens
are you using trusted auth cookieless ?
j
we are using trusted auth cookieless!
j
@jessica_20105 how are you embedding Spotter? Is it just Spotter or SpotterAgent?
Also, how are you building your front end? Is it React, Angular, etc or vanilla JS?
d
Hi @jhegele, it's an angular application. To short circuit the problem, from Jess' original query it's item 1 that is most pressing - the 401 happening too frequently and erroring. The spotter behaviour is a challenge but a symptom of the access tokens not living for long enough or erroring when generatetokens is called.
Hi @justinmathew_tsdev, we've added har files to the case when it was submitted - 00416807
j
thanks @dr_kintobor , can i know how long is the token valid for ?