Back

Anonymous accounts flooding auth users

  • 0
  • Auth
  • Cloud
Brinamite
30 Mar, 2025, 15:01

Dear all,

I want to implement anonymous user access for my client-side site, however, I am aware that Appwrite has certain quotas around users (200K). Now, I noticed that every time a user visits the site, a new anonymous user is created and stays there as an anonymous user until it is converted to a real user. The problem here is that the stale anonymous users stay in the auth user list and are taking up user quota.

What is the best way to go about this? I like the idea of anonymous accounts to deter any unauthenticated api queries.

TL;DR
Developers are facing an issue with anonymous accounts flooding the user quota in Appwrite due to multiple accounts being created per session. The Appwrite limit goes against monthly active users, so it should not be a major concern. However, there is a plan to add this metric to the dashboard in the future. To reduce the impact of stale anonymous accounts on user quota, it is recommended to convert these accounts to real users or implement a system to clean them up regularly.
Eldad
30 Mar, 2025, 15:04

Appwrite limit goes only against monthly active users so most likely you’re fine. We still don’t enforce this, and will this metric to the dashboard in the near future

Brinamite
30 Mar, 2025, 15:10

Thanks Eldad. I was getting worried because I had a teething issue with the code that started creating multiple anonymous users per session, and was worried that eventually I would hit this limit just by scaling. (even though the bug was resolved 🙂 )

Brinamite
30 Mar, 2025, 15:12

Given that a user might create more than one anonymous user even with the fact that a person will have more than one device that they can use to access the system, effectively multiplying the number of anonymous users per physical person

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