Back

Set Cookie on Client Login?

  • 0
  • Self Hosted
ZachHandley
1 Sep, 2024, 18:21

Is it possible to have the client SDK return a Set-Header cookie for SSR applications with client-side authentication?

TL;DR
Developers are wondering if it's possible for the client SDK to return a cookie for SSR applications with client-side authentication like how the server side SDK returns a secret.
darShan
1 Sep, 2024, 18:45

iirc, server side sdk returns a secret that can be later hooked to the client side like Client#setSession().

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