Back

JWT vs session (nodejs)

  • 0
  • Auth
jogri
29 Oct, 2024, 09:58

What is the difference between using JWT and the session secret? I thought you could validate the JWT without a request to the server, so I implemented it but realized that a request to the server is needed anyway. So what is the point of using it instead of the session workflow?

TL;DR
Difference between JWT and session secret for nodejs. Developer questioning need for server requests when using JWT for validation, seeking clarity on benefits over session workflow.
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