Rank 3: Container
Hi I was wondering how to make usernames unique or atleast a way to not make it possible to change your username through the API but only the ones with a token so I can do the usernames myself.
Votes
0
Replies
4
Participants
Unknown
Messages
5
Rank 3: Container
Hi I was wondering how to make usernames unique or atleast a way to not make it possible to change your username through the API but only the ones with a token so I can do the usernames myself.
Rank 3: Container
What do you mean by username? Is it an attribute of a collection you've created?
Rank 3: Container
No the Authentication side of appwrite
Rank 3: Container
Rank 3: Container
That's just the name field and not username. I don't think you can prevent the names from being changed in auth. You can, however, create a collection for usernames and set the appropriate permissions and create a function to create the usernames. So essentially, you'll not use the name attribute in auth at all.