Skip to content
Back

How does appwrite store users

  • 0
  • Auth
  • Web
  • Cloud
stranger
15 Apr, 2025, 11:07

How does appwrite store users, is there a way to store additional user data in the user profile apart from preferences.

TL;DR
Appwrite stores users by allowing developers to manage permissions on a document level. Extra user data can be stored in a user collection by retrieving the $id from authentication info and using it to create/find the user document with the specific ID.
Axistro
15 Apr, 2025, 11:33

You can store user data in a userCollection You can retrieve the $id from auth info. Then create/find thr user docuement with this id instead of ID.unique().

stranger
15 Apr, 2025, 11:34

Yes, that is a way but with user auth data itself I was wondering.

Axistro
15 Apr, 2025, 11:37

No You cant keep extra info along with auth.

Axistro
15 Apr, 2025, 11:48

Was the question about security?
Like If read/update permission is given to user then any user can view other user info if they have the id?

stranger
15 Apr, 2025, 11:58

No, that can be managed by permissions on document level.

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