Heyo!
Does anyone have a valid way of being able to support both SSR and CSR? For example, what if I want to do account.get() on a client sided page, following the tutorial on the docs will show a 401 on CSR, but 200 on SSR.
The web sdk client creates cookies on the domain where the API is located (for example cloud.appwrite.io), but not on the domain itself. This is fine, but if you sign in via SSR, the cookies will not exist on that domain and so the CSR side will not work. Any idea how to support both? 🤔
Recommended threads
- Password check in function
Hi, is there any way now for checking if the users password is correct in a function? I am creating a delete user function and before deleting I would like to c...
- Deployment fails after 15+ minutes: "Wai...
Hi, I'm Jayden. My email is jaydthom@haverford.org, and i'm having persistent deployment failures with my Next.js project. What happens: Push to GitHub trigg...
- Host Static HTML Site
I'm trying to deploy a static HTML website on my Appwrite self-hosted instance. I can't get it to work. I don't really understand the configuration. I have the ...