Back

Questions About User Data Storage and User Management in Appwrite

  • 0
  • Android
  • Web
Lucky Klyist
4 Nov, 2023, 13:08

I have a question regarding where to store user information. Should I place it in the Auth Appwrite table, or should I create a separate table and connect it via an ID or other Appwrite relationships? Also, does Appwrite support Google OAuth in React Native?

What is the best way to manage different types of users in Appwrite? Should I use labels to differentiate between regular users and those with admin privileges?

TL;DR
User asks about where to store user information in Appwrite and if it supports Google OAuth in React Native. User also asks about the best way to manage different types of users in Appwrite. - User data that needs to be accessible by others or queried against should go in a database collection, not the Auth Appwrite table. - Appwrite does not currently support Oauth with the SDK on React Native. - To differentiate between different types of users in Appwrite, you can use labels or teams. Labels can be used to differentiate regular users and those with admin privileges. Teams are used for collaboration and allow a user to invite another user.
Drake
4 Nov, 2023, 15:24

Additional user data that may need to be accessible by others and/or queried against should go in a database collection.

Oauth with the SDK on react native is not supported. See https://github.com/appwrite/sdk-for-web/issues/41. You can still try to manually open the url, though.

Sure, you can use labels. Teams are used for collaboration allowing a user to invite another user. Choose whichever fits your use case

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