Hacker News new | ask | show | jobs
by ncodes 3612 days ago
I do not think there is need to encrypt the data as the JWT signature ensures the content cannot be altered successfully.

You will need the private key to successfully alter the token.

Also, the tokens shouldn't contain private information since JWT tokens can easily be decoded.