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
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...