For some reason, I'm not able to login. I keep getting a 'general_unauthorized_scope' error?
Try login error: AppwriteException: app.67a5649d00009b51e0bb@service.cloud.appwrite.io (role: applications) missing scope (account)
at _Client.call (/home/container/node_modules/node-appwrite/dist/client.js:282:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Account.get (/home/container/node_modules/node-appwrite/dist/services/account.js:24:12)
at async /home/container/server.js:129:16 {
code: 401,
type: 'general_unauthorized_scope',
response: {
message: 'app.67a5649d00009b51e0bb@service.cloud.appwrite.io (role: applications) missing scope (account)',
code: 401,
type: 'general_unauthorized_scope',
version: '1.6.1'
}
}
You cannot get account with an API key
What's your tech stack?
React (Client), Node.JS (Server)
Follow SSR docs: https://appwrite.io/docs/products/auth/server-side-rendering
Ah okay, thanks! :peepoheart:
Recommended threads
- Flutter OAuth2 does not attach Google se...
Hi Appwrite team, I’m using Appwrite Auth in a Flutter mobile app and trying to upgrade an anonymous user to Google OAuth. Docs say that if there is already a...
- Bug report: Race condition in Flutter SD...
Hi team, I've found an intermittent bug in the Flutter SDK (v20.3.0) when using `createOAuth2Session` on Android. **Symptoms** After `createOAuth2Session` re...
- Register Disable
this is possible disable register but keep oauth login?