Skip to content
Back

Session Token not saving

  • 0
  • Self Hosted
  • Auth
Kai
25 Oct, 2025, 19:35

On several devices, the session token is not saved as a cookie during creation. This results in a 401 error when checking out the account. The Appwrite instance is accessible at appwrite.server.com. The website runs on the domain website.com. Logging in works without issues in Chrome on the desktop and Android phone. It doesn't work on the iPhone or in incognito mode on the desktop. According to the network log, the cookies are set correctly.

Version 1.8.0

TL;DR
Developers are facing issues with the session token not saving as a cookie during creation, leading to a 401 error. The problem occurs on certain devices and browsers. The Appwrite instance is hosted at `appwrite.server.com`, and the website runs on `website.com`. Logging in works on Chrome desktop and Android, but not on iPhone or in incognito mode. Network logs show cookies being set correctly. Solution: It appears to be a known bug with Version 1.8.0; consider upgrading to a newer version to resolve the issue.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more