I have auth error, I'm using Github auth, 'User (role: guests) missing scope (account)
- 0
- Auth
- Web
I'm trying to login and after the login to navigate to the dashboard but it's no working
i get this error
Authentication error: AppwriteException: User (role: guests) missing scope (account) at Client.<anonymous> (/home/Hamdy/appwrite-habit-tracker/node_modules/appwrite/dist/cjs/sdk.js:657:23) at Generator.next (<anonymous>) at fulfilled (/home/Hamdy/appwrite-habit-tracker/node_modules/appwrite/dist/cjs/sdk.js:21:58) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) { code: 401, type: 'general_unauthorized_scope', response: { message: 'User (role: guests) missing scope (account)', code: 401, type: 'general_unauthorized_scope', version: '1.6.1' } } my controller
This my middleware, am i doing something wrong this project was originally using passport and mongoose
Recommended threads
- Iβm facing an issue with deployments on ...
Hi Appwrite Support, Iβm facing an issue with deployments on Appwrite Sites. A few days ago (around 3β4 days back), everything was working perfectly. My deplo...
- Project auto-blocked after load testing ...
Hi team π My project has been automatically blocked with the message: "Project is currently blocked β Access to this project is restricted. Contact support if...
- App build crashing with "Internal error"
Hello Appwrite team! π We are trying to deploy a Next.js application on Appwrite Cloud, but our builds are consistently failing. The deployment log successful...