Hey I'd like to check if an account is already registered by letting the user of the app only enter the email. Which endpoint do I need to hit to get this data, or do I have to write my own cloud function for that?
Hello, you will need a cloud function https://appwrite.io/docs/server/users?sdk=python-default#usersList use the parameter I want passing the email
Hi π ,if you are looking for an example of implementing a check: https://github.com/appwrite/demos-for-react/blob/12953066814f2116b1d5bd11f3526c2de07dbd04/example-auth/src/appwrite.ts#L40
from this repo: https://github.com/appwrite/demos-for-react/tree/master/example-auth
this might give you a good idea too, it helps check at the time of sign up if the user exists already which I think suits your use case
Recommended threads
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...