Back

NEXT SSR AUTH - general_unauthorized_scope ERROR

  • 0
  • Auth
  • Web
  • Cloud
abel_banze
26 Mar, 2024, 10:03

Hi folks, I'm trying to implement ssr authentication following the tutorial on Appwrite Docs [https://appwrite.io/docs/tutorials/nextjs-ssr-auth/step-1] but I'm getting the following error: code: 401, type: 'general_unauthorized_scope', response: { message: 'app.**************@service.cloud.appwrite.io (role: applications) missing scope (public)', code: 401, type: 'general_unauthorized_scope', version: '0.12.128' } }

TL;DR
Developers are encountering a general_unauthorized_scope error while implementing SSR authentication with Appwrite. The error message shows that the account lacks the 'public' scope required for the role. The issue appears to be related to missing permissions for the specified service account. The solution involves ensuring that the account has the necessary scopes assigned.
abel_banze
26 Mar, 2024, 10:15

NEXT SSR AUTH - general_unauthorized_scope ERROR

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more