Hi,
I own a domain example.com which is registered with the Appwrite nameserver. My website runs on Sites, using www.example.com as domain, and my functions use <function-name>.example.com. I added a custom domain for the Appwrite API called api.example.com, so it'll e.g. call api.example.com/v1/account to get the current user's information.
Here's the issue: When I login (using OTP), the session cookie is stored on .api.example.com, but my browser doesn't send these cookies to any other requests. I have some functions which require the user to be logged in.
Is there any way to configure Appwrite to set session cookies on .example.com instead?
Recommended threads
- sh: vite: Permission denied
When installing the vue starter template as site and then adding DaisyUI, i get the error `sh: vite: Permission denied`. I also got this issue (with a fresh tem...
- Appwrite Auth & Function don't reveal cl...
When I execute a function or sign in with my Flutter app, Appwrite does not show my real IP: instead, it seems that Appwrite shows Fastly CDN IP address.
- All function deployments fail (node 18-2...
Error: bash: /usr/local/server/helpers/build-cache.sh: No such file or directory Sidecar error: Build archive was not created at /mnt/code/code.tar.gz Scope: ...