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
- Invalid token passed in the request
Hello, I have an issue using updateMagicURLSession. I send the email using sendMagicLink, which works fine. When i click the link in the email i get the invali...
- functions domain error
I cannot set up the domain for function Iβm trying to add the domain api.example.com I can only use Cloudflare as the DNS provider because my domain provider do...
- Storage Bucket Permissions
Hey folks, when enabling CRUD on the bucket level for the role any, should the bucket be accessible when using a session client?