My goal is to generate a JWT via a REST endpoint. To the best of my knowlege, in order to accomplish this I am to send a POST request to the following endpoint, /v1/account/jwt along with the following headers: X-Appwrite-Project, X-Appwrite-Key and Content-Type. Following these instructions here: https://appwrite.io/docs/client/account?sdk=web-default#accountCreateJWT
My assumption is that I would also need to send along my email and password in the request body.
Any chance I am missing something here?
Here is the most common response I am getting:
{
"message": "[email protected] (role: applications) missing scope (account)",
"code": 401,
"type": "general_unauthorized_scope",
"version": "1.3.7"
}