I want to user's id for authentication. However, a while ago I was told in this server not to use account.get() and instead add user preferences for that user which matches with an $id that is in a collection that contains details like username. ChatGPT is advising against it strongly. So, now I am not sure which id to use for authentication, the one that is created in a collection and added as a preference, or the id that is in the Auth section?
TL;DR
Developers are asking if it's safe to use `account.get()` in the client-side for authentication. Initially, they were advised against using it and instead told to add user preferences matching with an `$id` in a collection. They're now wondering whether to use the id in the collection or the one in the `Auth` section for authentication.