Issue getting the current user session from the server side (sveltekit – using appwrite for auth)
Summary A SvelteKit server-side load function fails to retrieve the current user session from Appwrite because the session cookie name used for extraction does not match the cookie name actually stored by the Appwrite SDK. The client initialization in +page.server.js explicitly retrieves a cookie named a_session_<project_id>, whereas the createSessionClient helper in /server/appwrite.js retrieves a cookie … Read more