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