abel_banzeOriginal post
Rank 2: Process
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'
}
}
Summary
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.