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
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...