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
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...