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.
What do you mean by username? Is it an attribute of a collection you've created?
No the Authentication side of appwrite
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.
Recommended threads
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...
- Appwrite 1.9.0 doctor fails tho database...
So i was testing in a local environment the upgrade for 1.9.0, and after getting everything into a running state, i checked the logs that shows : ``` └── Cre...