Jessica - Hi, we're using external oauth connec...

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
6 Replies
Jessica
JessicaOP2w ago
@Regan @Laurence C
Justin Mathew
Justin Mathew2w ago
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 ?
Jessica
JessicaOP2w ago
we are using trusted auth cookieless!
jhegele
jhegele2w ago
@Jessica 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?
Laurence
Laurence2w ago
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 @Justin Mathew, we've added har files to the case when it was submitted - 00416807
Justin Mathew
Justin Mathew2w ago
thanks @Laurence , can i know how long is the token valid for ?

Did you find this page helpful?