Hello everyone,
I am planning to build a backend for an app that can be used in schools. The school admin creates an ordinary account via OAuth or e-mail login. This admin can then create teacher users. The idea is that teachers then get a code with which they can log in (e.g. 123-456-789), i.e. not by email and password. The teachers in turn can create classes to which they can add student users. The students can log in with a code just like the teachers, i.e. again without email and password.
Now my specific questions:
- What is the correct way to implement something like this in Appwrite, in terms of authentication?
- Is it possible to create users without email and password?
- If not, is it a solution to create dummy email addresses for teachers and students, e.g. 123-456-789@myApp.com and then use these as IDs?
- What are classes: teams or labels?
- How do I differentiate between admin, teacher or student permissions? Are labels the right way to go here?
I use the Rest API to communicate with the backend and .NET as the server platform.
I am very grateful for any help (also in parts)!
Recommended threads
- User columns stuck on processing
Hi — on Appwrite Cloud (Free), Project ID 69d7dd8200098ed8560c, database mylestone-db. Attributes/columns are stuck in "processing" indefinitely across two coll...
- [SOLVED] Error upgrading from 1.8.1 to 1...
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...