I want to create new user as employee. I want store data like date of birth, salary, address etc .
These data should go to different table so we can later update and also employee can login into application later.
I would suggest you to create a new collection for that to store the details along with the userId
Yes I have created an employee collection.. now I want to login as user with employee credentials. Is it possible?
You can't do that You'll still need to use Appwrite built-in Auth, But, anytime you load a logged-in user you'll load is matched document in the employee collection.
Recommended threads
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...