Skip to content
Back

login backend and frontend

  • 0
  • Auth
  • Web
  • Cloud
ThisIsStep2
26 Jun, 2025, 12:57

I'm using Remix, as my Backend (node). and react on my frontend. Until now, i did SSR login. saved the secret.. and it's fine. For many simpler requests i wish instead of quering my Remix backend, i want to be able to query appwrite directly. The problem, is that appwrite uses a cookie to identify the user. But on local development, i cant create the cookie, to see the inofrmation on the appwrite cloud. They have different domain. Any ideas how to solve it? Maybe there is a way to do the login directly with the appwrite SDK and send the user secret cookie to the backend, so the server could have it as well

TL;DR
Developers using Remix backend and React frontend are looking to query Appwrite directly for simpler requests instead of going through the Remix backend. However, they are facing issues with Appwrite's cross-domain cookies during local development. They are seeking a solution to authenticate the user directly with the Appwrite SDK and send the user secret cookie to the backend.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more