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
- Go 1.25 runtime
So I'm trying to use go 1.25 for my functions and I can only find go-1.23 as a function runtime. So I did some searching and found https://github.com/appwrite/a...
- [ENHANCEMENT] Use the custom Next.js dep...
Deployment adapters on Next.js are now stable! This means that we don't have to stick to the limitations of sniffing out build outputs and manually moving or mo...
- NextJS builds sudden runtime_timeout
My builds suddenly stopped working. Activating old prebuilt snapshots work, but redeploying that same code produces builds that throw runtime_timeout FRA region