
and the X-Fallback-Cookies cookie is actually missing from the email login POST request.
You mean the response headers?

yes, in the response

For the frontend app I use appsmith, I don't remember if it uses SSR or CSR

ok. well the x-fallback-cookies are a fallback anyways...primary place for the session is cookie

can you check the network logs for the get account api call?

to see if the cookie is being included?

request info and response header

you might have to switch to the cookies tab

under development tools -> Application -> Cookies -> app.domain?

under network there's not cookie tab

btw, with nginx, are you making sure to forward to Appwrite via HTTPS and forward the host header?

you should 🧐

I'll send you the configuration for appwrite

for the create email session, are you seeing the cookie get returned?

server {
listen 443 ssl;
server_name auth.domain.com;
ssl_certificate /etc/nginx/ssl/domain_com_2023.crt;
ssl_certificate_key /etc/nginx/ssl/domain_com_2023.key;
location / {
proxy_pass https://appwrite-traefik/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_buffering off;
proxy_redirect off;
}
}

kk this should be good

email request

ya...the cookie should be returned....

account request

something is weird with your server/appwrite instance...this should include the set-cookie response header

Is there a way to figure out what's wrong?

Did you configure your _APP_DOMAIN env var?

I'm going to check

yep

but it's strange, because using the frontend app locally and connecting to auth.domain.com everything works correctly, the cookie is passed
Recommended threads
- Collection Permission issue
I am facing issue in my Pro account. "Add" button is disabled while adding permission in DB collection settings.
- Origin error after changing default port...
Hi! I need some help regarding an issue I’m facing with Appwrite after changing the default ports. I have a self-hosted Appwrite instance running on my VPS. I ...
- Opened my website after long time and Ba...
I built a website around a year back and and used appwrite for making the backend. At that time the website was working fine but now when i open it the images a...
