Skip to content
Back

Adding Attributes to User

  • 0
  • Databases
  • React Native
  • Auth
Don
5 Jun, 2025, 14:42

What is the best way to add attributes for a User? Do I need to create another entity with the attributes since I cant add them in the Auth service. Thx

TL;DR
To add attributes to a User, the best way is to create a collection in the database and include a column for userId and any additional attributes needed. This can be done by creating a separate entity in the database to store the additional attributes, while keeping the User entity in the Auth service for authentication purposes.
Chirag Aggarwal
5 Jun, 2025, 14:50

best way to do this is to create a collection in database, and add a userId column along with additional attributes that you want

Don
5 Jun, 2025, 14:51

gotcha ... thank you

Don
5 Jun, 2025, 14:51

appreciate it!

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