I'm getting 401 not authorized when using verifySe...
# support-questions-legacy
g
I'm getting 401 not authorized when using verifySession() in an express handler: app.get("/api/market/list", verifySession(), rateLimiter, asyncHandler(async (req, res) => { This is across subdomains. I'm calling domainname.com/api/thingy from dev.domainname.com Any ideas on how to fix that?
net::ERR_BLOCKED_BY_RESPONSE.NotSameOrigin 401
r
can you enable backend debug logs from our backend sdk and show the output?
g
How can I enable backend logging on vercel? https://supertokens.com/docs/thirdparty/troubleshooting/how-to-troubleshoot This shows enabling it from the command line and I don't have access to that at vercel. I tried setting environment variables but that didn't work.
Got it working
Not handling because request path did not start with config path. Request path
That one is from the subdomain.
That one is from the main domain.
r
> Not handling because request path did not start with config path. Request path I don't see this in the logs above. Can you send over all the logs you see?
g
Now back to this lol.
r
huh?
g
I'm talking to myself
9 Views