Back

Should session.secret be returned to user

  • 0
  • Auth
banega
21 Sep, 2024, 00:04

I'm wondering If I should return session.secret as cookie value/JWT to a user after I create its session or should I return just session.$id?

I'm using Appwrite from backend (Node.js)

TL;DR
Developer is questioning whether to return session.secret as a cookie value or JWT to the user, or just session.$id when creating a session using Appwrite in Node.js.
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