Rank 1: Thread
Hey,
I have a nextjs website with SSR auth, works great.
I use a session client for user verification and an admin client with API key. Both is used with node-appwrite.
However, when I want to get a realtime subscription, it's not supported by node-appwrite package.
Is it possible to create a JWT and use that to init a client session with appwrite, and then subscribe to that?
I guess that would mean the same session will be used simultaniously in both node-appwrite and appwrite.
Ive allready tried but no updates when changing rows.
Or.. would it be a better setup to remove session client from SSR and only keep admin session SSR?
I am hoping on some pointers on what will be the common way to solve this matter.
Thanks!