
Hi, I’m using Appwrite Cloud, and I have a setup where my Appwrite backend is hosted on a subdomain (e.g., api.example.com), while my frontend (Next.js app) and API routes are hosted on the root domain (e.g., example.com).
I’d like to know if it’s possible for Appwrite Cloud to set session cookies with a domain like .example.com, so that they are accessible across subdomains — including both the frontend and my Next.js API routes.
Specifically, I want my Next.js API routes to have access to the Appwrite session cookie in order to verify the user's session.
Is this even supported?
Recommended threads
- Custom Domain Issue
i have added a custom domain about 21 hours ago, but till now there is no SSL certificate is active on it. but if i do DNS check via https://dnschecker.org/#C...
- Flutter OAuth2 Google does not return to...
When the flow starts, the browser opens, I select an account, and it keeps showing: """ Page not found The page you're looking for doesn't exist. `general_rout...
- Organization not exists anymore
Hello! We have a problem with a cloud database. We are on the Free plan, but after a refresh the site wants me to create a new organisation, and I not see the c...
