
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
- Auth showing wrong numbers of users
I have 6 verified users but it shows 5 24 hours before I have 5 users that time its showing 4 users. Project ID: `68aed705001ef67ac979`
- Appwrite + Google OAuth session created,...
Hey everyone, I’m running into a weird issue with Appwrite’s Google OAuth provider and would love some insight. Here’s my setup: - **Stack:** React app...
- createPhoneToken not working with expo
` const phoneResponse = await account.createPhoneToken(response.$id, phone);` this gives this error: `OTP error: [AppwriteException: Server Error]` * phone i...
