
So i have a desktop app. First i created a user, then created a session. But it seems i also need JWT to call APIs (ie create document). CallingJTW with session id in header (X-Appwrite-Session), just returns:
Response: Object { "code": Number(401), "message": String("User (role: guests) missing scope (account)"), "type": String("general_unauthorized_scope"), "version": String("1.6.1"), }


x-appwrite-session is the header for the appwrite session token. Which is not the jwt token.
Recommended threads
- Is my approach for deleting registered u...
A few weeks ago, I was advised not to use the registered users' id in my web app. Instead, I store the publicly viewable information such as username and email ...
- Flutter OAuth2 Google does not return to...
When the flow starts, the browser opens, I select an account, and it keeps showing: """ Page not found The page you're looking for doesn't exist. `general_rout...
- Email Verification Email
Hi everyone, I’m currently experiencing an issue with the email verification functionality. When I trigger the verification, the request returns a valid respon...
