
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
- "The document data is missing. Try again...
Hello, I am getting this error suddenly. I have been using this service for a year now, and I haven't made any changes to my code since then. My app was workin...
- Error: The document data is missing. Try...
I am not able to create any document on some of the collection/ DBs. As I can see many of us facing the same issue, need a quick resolution from the Appwrite Te...
- Appwrite Error: 401 Unauthorized on getC...
Hi everyone, I'm getting an error while trying to fetch the current user using Appwrite in my React project. Here's the error log: auth.js:41 GET https://fra....
