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
- Docker Compose MongoDB Setup
everythings work fine but the mongodb fails on startup everytime. log: ``` Generating random MongoDB keyfile... /bin/bash: line 9: : No such file or directory ...
- Auth broken after update from 1.8.0 to 1...
So ive been having issues creating, deleting or updating users on my appwrite instance after i updated from 1.8.0 to version 1.9.0. When trying to create a user...
- Realtime not processing messages
When subscribing to realtime events of database, the client's websocket receives the messages in the websocket feed, but doesn't call the specific message handl...