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
- Current User is Not authorized
recreating same Thread
- Error: User (role: guests) missing scope...
I want to send a verification code to the user and the given phone number and check it and create a session right after the user entered the secret. For me that...
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...