Since a custom cookie is needed for SSR, the session won't be sent over when making requests client side, which means that if a user has permissions to view a file in Storage, they will get an error when trying to view it because the session cookie is set on my server and not on the Appwrite server. How can I solve this issue?
Isn't the same as database?
Yeah but since everything is fetched server side that wasn't a problem
I think you could fetch the image server side too?
I mean that's possible but it would just load my server with unnecessary fetching
Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- Rate Limit of project
AppwriteException: Rate limit for the current endpoint has been exceeded. Please try again after some time. So , how much time I have to wait and why does it h...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...