Skip to content
Back

Realtime updates

  • 0
  • Auth
  • Web
  • Realtime
  • Cloud
KakashiMan
10 Apr, 2025, 13:18

Sorry if this is a duplicate or so, but I wanted to question around using realtime in react, why is that client sdk can use the jwt/secret made by the server sdk to fetch databases and so on, but its not possible to use the Account object through it, and for that its impossible (from what I have tried) to use realtime while using server auth.

I do most of my data updates and queries and fetching on the server but I do need the realtime features since my application is a Saas app that needs users to receive realtime updates.

TL;DR
Developers are questioning why client SDK can use JWT/secret from server SDK for database access but cannot use the Account object for realtime updates in React. It seems impossible to achieve realtime updates with server authentication. The application is a Saas app requiring users to receive realtime updates.
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