Please tell me what am I doing wrong? When I log into the application, I receive a cookie without the secure flag, samesite: none, which is why a backup one is set. Nextjs website on the app.ru domain, appwrite on the appwrite.app.ru domain, https everywhere. (SDK Web)
Backup what? Are you on appwrite cloud?
appwrite hosting
You're self hosting? Do you have anything in front of Appwrite like a reverse proxy?
Self-hosting, I use nginx proxy manager to redirect from server:3000 to the https domain
Ummm is traffic from NPM to Appwrite https?
That's right, SSL certificates are installed everywhere
Soo Appwrite's https port is 3000?
appwrite on port 3000, if you go through server ip: 3000, then there is http.
Please make sure you're forwarding to the https port
Okay, thanks, I'll check it out. I'll try to start everything again now.
Good afternoon, you were right, it was an NPM issue, I changed the configuration and now there is a secure flag. Please also tell me why 2 cookies arrive, is this how it should be?
Yes this is correct. Legacy cookie is for legacy reasons. You can ignore it
Thank you!
[SOLVED] Cookie (login)
Recommended threads
- Bulk API limitations in self-hosted serv...
Environment: Appwrite Selfhost SDK: node-appwrite 28.0 Calling `upsertRows` (also applies to `createRows`/`updateRows`/`deleteRows`) with more than 100 rows fa...
- Self Hosted GitHub connection not adding...
After upgrading to 1.9.6 i noticed that i cannot search for new repositories when trying to add new functions. I removed the existing github connection via Set...
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...