First of all thank you very much for so good application. I have self-hosted AppWrite instance on my VPS. It is working on http protocol 90 and https 543. These are working perfecly fine. I wanted to make it work on my domain, so i've created A DNS record for api.domain.com for AppWrite and added nginx configuration to reverse proxy api.domain.com to VPS_IP:543. This is also working fine and i'm able to reach this domain on SSL and do all the stuff.
Problem is when i'm trying to fetch data from my frontend app, also hosted and reverse proxied on my VPS under app.domain.com. While on localhost request to login is passed (email request is OK, account request is OK and save fallbackCookie to local storage), when i try to request this from app.domain.com, email request is OK, but account request returns error User (role: guests) missing scope (account). I've realised that no cookie is present on website app.domain.com, nor local storage has fallbackCookie set.
From env, i set publicly visible domain as APP_DOMAIN _APP_DOMAIN=api.domain.com
What could be the cause that session is not stored on production, but it is stored on localhost?
Recommended threads
- Selfhosted Github App installation
I've followed this guide: https://appwrite.io/docs/advanced/self-hosting/configuration/version-control to connect GitHub to my self-hosted Appwrite instance (1....
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...