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
- OAuth login not working on deployed app ...
Hey there, I've been dealing with an issue where I cannot use OAuth on my deployed app - locally everything works fine. I am using react-router in Framework Mo...
- Bug on Updating User Limit
I’ve encountered a bug in the Appwrite Cloud UI when attempting to update the user limit to 0. My goal is to disable public registration while still allowing e...
- How to ByPass the Hostname restriction f...
Hello, Im hosting my React application in a stateless server environment, where the IP of the client keeps changing for the server. How do I bypass the hostname...