Back

Account get

  • 0
  • Auth
  • Web
  • Cloud
Mosh Ontong
25 Jul, 2024, 08:01

It is my first time to implement Appwrite in web sdk. I am flutter developer and I am now developing a project with next js. I just open the localhost of my web project, so I have that HOC that check if there are session logged in account.get.

Expected: When account.get it must throw an error because there is no session created

Actual: The account.get does not throw an error because in same instance of browser there is a cloud.appwrite.io session logged in.

  • So it means I need to run my web project on incognito?
TL;DR
Developers using Appwrite web SDK in a Next.js project are experiencing issues with the account.get function not throwing an error despite no session being created. The session from cloud.appwrite.io is causing the problem. Solution: Running the web project in `incognito` mode might 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