Hello, somehow our cookies are being set twice. Due to that, the refresh endpoint returns a 401
e
Hello, somehow our cookies are being set twice. Due to that, the refresh endpoint returns a 401
n
the domain on them are different. How do you think that happened?
e
Not sure, we use the
cookieDomain
to set the custom domain, since we use a subdomain
n
are you querying multiple api domains which are creating a new session?
e
ah, i guess it are "old" cookies, we have updated it to cookieDomain 3 weeks ago
no query 1 api domain
server is on
dashboard.lokalist.nl
but our current server (server.lokalist.nl) needs session verification from the dashboard
so thats why we use
cookieDomain
this might be the problem, had to delete the old cookies
n
yea.. if you delete the older cookie, it should work.
e
right, was absolutely sure i removed my old cookies
thanks anyways ;d
Hey, seems like issue is not solved
Its not due to setting twice
cookies are accepted >
but still getting 401 when hitting the refresh
What's the fastest way to debug ;)? any tips
r
Enable backend and frontend logs and show them here when refreshing
And also send a screenshot of the set-cookie header in the sign in response