Web Developer
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?