have a way to authenticate using rest api > https://appwrite.io/docs/client/account#accountCreateEmailSession ?
{ "message": "app.64fxxxxxxxxxxx@service.cloud.appwrite.io (role: applications) missing scope (account)", "code": 401, "type": "general_unauthorized_scope", "version": "0.11.4" }
Have you tried hostname
/v1/account/sessions/email?
yep
Are you using cloud?
yep
Hmm...Let me have a quick check on my end
i'm using server to authenticate
I'm not using the client, just the rest...
Oh ok, I can't test that unfortunately
Someone more knowledgeable would be here to help shortly.
thanks π
You can't include an API key with your request
Also, it should be POST
Make sure to check out our REST docs: https://appwrite.io/docs/rest#client-auth
awesome, thanks π
is your problem solved?
yep, but i have another
but it is listing users who don't have my email in the search...
How do I filter this in a more effective way?
you can start by reading this to better understand how search works: https://github.com/appwrite/appwrite/discussions/5005#discussioncomment-4681079
If you still need help, please create a new post
[SOLVED] rest login ?
Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- Having issues with login via CLI
``` ~/appwrite ξ° appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...