Skip to content
Back

CSR with Serverside Auth

  • 0
  • Auth
Flyto
2 Feb, 2026, 10:59

Hello everyone, according to best practices I would like to use server-side authentification as I would also like to render a big chunk of my app serverside. However, there are parts I would prefer to render client side which would require the webSDK correct? How can I authenticate the webSDK when using the serverSDK for auth? Do I need to authenticate in parallel? Or can I do it with token? Whats the most secure way?

TL;DR
Developers are looking for the best way to use server-side authentication with a mix of server-side and client-side rendering in their app. They're wondering how to authenticate the webSDK alongside the serverSDK. The most secure way is suggested to be using tokens for authentication.
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