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
- _APP_OPTIONS_ROUTER_PROTECTION
Hi Everyone, I just setup a fresh 1.9.0 on a server. Configured everything and now when i try to connect to appwrite for first time setup i get a _APP_OPTIONS_R...
- Selfhost - Starting Docker containers fa...
I am stuck at installing appwrite. Specifically, the containers dont want to start up. The images are downloaded and ready. Dockhand is reporting containers st...
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...