This is working on the client side but the server keeps throwing and error both on local dev (which is kind of expected) and on my digital ocean hosted nuxt 3 app I have tried serval times to make sure domains a set appropriately and have created custom domains which all seem to work but this server error keeps happing and I don't know how to fix? Has anone used nuxt-appwrite ?
fetchUser ERROR AppwriteException: User (role: guests) missing scope (account) at Client.<anonymous> (.../appwrite:387:27) at Generator.next (<anonymous>) at fulfilled (..../appwrite:24:58) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { code: 401, type: 'general_unauthorized_scope', response: { message: 'User (role: guests) missing scope (account)', code: 401, type: 'general_unauthorized_scope', version: '1.2.0' } }
I think your only option for this is to create a JWT token from the client side and pass it to your nuxt back end
@Stormbringer shall I close this? everything good ?
[SOLVED] nuxt-appwrite with OAuth2 provider
Recommended threads
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...