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
- Login / Signup issue
So I have been trying to create an account on appwrite but no matter what I try it doesn't work. I tried using GitHub at first but after logging in it just red...
- How to bypass the rate limit on the back...
Once a month my app has a ton of usage and I always run into the Too many requests 429 error. I am trying to optimize the queues and jobs to manage that, but a...
- 401 - Project not accessible in this reg...
Hi Appwrite team, I’m experiencing a Cloud Console issue with my NYC region project. Problem: - Some Console pages return: “401 - Project is not accessible ...