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
- Get Profile picture
If I made an app where user need to sign in with Google. Now how do I access the user profile picture?
- Intermittent 60s edge-to-origin stalls r...
Anyone having this problem? Region: SFO. Plan: Pro. UPDATE: "Fastly's documentation notes that enabling origin shielding can resolve backend connection problem...
- Vulnerabilities !!!
Why i can't mail to security@appwrite.io