Web Developer
Hello everyone, i'm having trouble understanding how to set the auth enviroment in dev(localhost).
My idea is to get that cookie saved and use it to make request to appwrite using SSR setting the cookie manually in the request headers.
1- web sdk -> no cookies get saved, only the local storage fallback.
2-rest api -> the cookie gets set with the domain ".cloud.appwrite.io" but as soon as i refresh the page it gets deleted, i asume is something related to the domain.
So my question is how do i make the cookies get set and persisted in localhost dev?
At the moment i don't have a custom domain to set that up. I did create a web app in the appwrite console with the hostname localhost.