We already use the Auth setup from Appwrite to login from the React app, which works great. Now, I want to create a feature where you can connect/invite another user by email. When you "friend" someone I need to check if the account yet exists in Appwrite, if not, send an email to create an account first. If it does exist, it will connect it in the database.
I understand I'll have to use a Function for this, but I can't find any relevant APIs to check if an account already exists or not. The only API I can find is to get the currently logged in user (not just any user by email).
How to approach this?
Recommended threads
- Problem with the new Email policies
when user set those thing from cloud panel and when they open that page again or reload that time it forget what we have checked and it set default to false on ...
- Deleted my account, trying to signup aga...
https://cloud.appwrite.io/console/login?error=%7B%22message%22%3A%22This+email+address+must+already+be+in+its+canonical+form.+Please+remove+aliases%2C+tags%2C+o...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...