I'm trying to compare email and password, however, it's not working...
as below, only 1 query parameter works.
https://cloud.appwrite.io/v1/users?queries[]=equal("email", "example@email.com")&queries[]=equal("password", "password")
Am I doing something wrong?
[REST] attach multiple query strings dont working ...
That won't work because password is a hashed data and not a simple string
Alao, you can't query on password. See https://appwrite.io/docs/server/users?sdk=nodejs-default#usersList
Even if I compare it with the hash?
Don't think so
so the solution is to get the hash and compare incode ?
You'd have to do the exact same thing our create email session API does
Recommended threads
- Payment Problem
I have got the Pro added the required details but still the Pro is not active
- Self-hosted 1.9.0 — what's the canonical...
Self-hosted 1.9.0 — canonical way for functions to call the API on the same host? Setup: Go functions on self-hosted 1.9.0. Public domain via traefik, valid LE...
- Getting internal server error 500
Getting internal server error 500 opening my project. Any issues? Thanks