check it here
i'm returning the complete req object
try setting any cookie in devtools, nothing will be logged
i went with creating execution with the sdk now, as that's not using the the subdomain
but if I need session, using a subdomain is a no-go currently
not sure if the issue is in appwrite or with cloudflare
i opened a ticket for them, so far they are clueless 😄
what's the code?
when using the SDK, what did you set the endpoint to?
you mean the code of the function?
the function's code is just
export default async ({ req, res, log, error }) => {
return res.send(JSON.stringify(req, null, 2), 200)
}
the sdk is set to https://api.vegas/v1
but with the sdk i have no problem as that's not using the subdomain
And how exactly are you calling this?
I open the URL
in browser
Hmm ya I don't think cookies would pass because the cookie is for a parent domain. What are you trying to do?
cookies set with . or without should work on any level
that's why the browser is sending it
i wanted to check if the user is authenticated or not
i also tested with a cookie for the whole subdomain, that's also missing
so there's clearly a bug somewhere
This is weird...if it's being sent from the client, I would expect it to be passed along based on this code:
Recommended threads
- How Can I Create landing page in appwrit...
I created function called invoice URL https://app.getrestt.com/v1/functions/invoice/executions?id=test-76f948fe83c43422561fe096c0674a1bd3ff0702cdfcf2444293ab31...
- DeploymentStatus enum value `canceled` m...
Hey, Sorry if it has been reported already, I found an issue using the Dart SDK where the `canceled` enum value is missing from `DeploymentStatus`. This causes...
- Synchronous function execution timeout w...
I am calling server functions with xasync = true and I still get this error message. Synchronous function execution timed out. Use asynchronous execution inste...