Hi, hope you all are fine ! I got ```{ message: ...
# support-questions
v
Hi, hope you all are fine ! I got
Copy code
{
message: "try refresh token"
}
on the
/auth/dashboard
n
Hi @Val Can I see the backend config you use when calling SuperTokens.init?
Whats the value of
stConf.APIDomain
and
&apiBasePath
?
v
APIDomain is the host of the API
localhost:4000
apiBasePath = "/st"
and I try to /st/dashboard
but is working just after 1h I get this error
If I try with private navigation it's working
n
@sattvikc Might be able to help here
v
If I clean my cookie it's work normally*
n
Hmm strange, give @sattvikc some time he'll reply as soon as he can
s
hey @Val , I tried reproducing the issue, but didn't happen. can you help us with little more details? are there any protection added to dashboard routes? also backend debug logs?
v
Ok I just implement with settings I sent and add the suppertokens middleware to chi router (with go) It's working fine I can't access to the supertokens dashboard and signin with my client application like a charm. But after 1h (more or less) I get
Copy code
{
  message: "try refresh token"
}
And I can't access to the dashboard and cannot signin with frontend with the same err
I do not have logs just nothing happen I thing it's in the supertokens middleware
@sattvikc
s
do u access the dashboard via /st/dashboard ?
v
yes and it's working normally
but after the hour not
ok
s
can I take a look at it over a call ?
this is little strange because we don't use cookies for the dashboard
v
if I remove the cookie it's working
I just try
and it's work now
umh not now but yes it will be nice
s
okay, let me know when it would be comfortable
v
ok weird because I don't see this cookie now (it not came back) but ok when I get it I'll send it to you
s
yea sure
v
@sattvikc this cookie
s
hey, can we debug over a call?
v
Just for add context when I login with frontend after cleanup the cookie
I got 2 news cookies
s
cookies are fine, thing is that it shouldn't interfere with dashboard
v
cannot right now 😦
do you want access to the domain? I send you in private if you want
s
sure, that can help
v
sent 🙂
s
to wrap up on the Dashboard cookie issue: while using a global middleware it's best to ensure it skips execution on the routes that start with APIBasePath, especially if you are handling session stuff in that.
@rp the change password issue discussion has gone into private DM. plz update once the fix is released.
r
this has been fixed in the latest version of the golang SDK (>= 0.9.12)
v
@rp cool thank I upgrade it