
Hey folks, I'm trying to handle auth on the server side in my SvelteKit app. I was able to successfully create a session with createSession() and store the sessionId and userId as http-only cookies. I'm getting them in hooks.server.ts and try and verify the session with getSession(sessionId). However I get an error of 401, 'general_unauthorized_scope', (role: applications) missing scope (account) Any leads?

I should mention the I've been following the docs for getSession() for NodeJS and set the API key scopes for auth session.write, users.read, users.write
https://appwrite.io/docs/references/1.6.x/server-nodejs/account#getSession
Recommended threads
- Cookie rejected because it has the attri...
I have a dev website (dev.domain.com) and appwrite as a subdomain (api.dev.domain.com), but no cookies are saved in the browser when logging in using the web sd...
- Error uploading PDF: [AppwriteException:...
here is the my code export const uploadPDF = async (pdf) => { try { console.log("Uploading file:", pdf); const file = pdf.assets[0]; console....
- Google login redirect error in auth.js a...
Hello people, I need urgent help. It's like this I'm using auth.js to authenticate my site and using Google to log in, when I click to log in with Google it red...
