Rank 2: Process
have a way to authenticate using rest api > https://appwrite.io/docs/client/account#accountCreateEmailSession ?
Votes
0
Replies
23
Participants
Unknown
Messages
24
Rank 2: Process
have a way to authenticate using rest api > https://appwrite.io/docs/client/account#accountCreateEmailSession ?
Rank 2: Process
{
"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?
Rank 2: Process
yep
Rank 2: Process
Are you using cloud?
Rank 2: Process
yep
Hmm...Let me have a quick check on my end
Rank 2: Process
i'm using server to authenticate
Rank 2: Process
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.
Rank 2: Process
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
Rank 2: Process
awesome, thanks 😄
is your problem solved?
Rank 2: Process
yep, but i have another
Rank 2: Process
i'm trying filter email = myemail@gmail.com, in https://cloud.appwrite.io/v1/users?search=myemail@gmail.com
Rank 2: Process
but it is listing users who don't have my email in the search...
Rank 2: Process
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 ?