What is a JSON Web Token and how does it work? JSON Web Token is a very popular method of keeping sessions in web applications. The flow of implementation is simple and straightforward. However, are your JSON Web Tokens really secured? Are your paylo...
taiwodevlab.hashnode.dev5 min read
Nice article Taiwo, thanks for sharing. This however begs the question why do you want to encrypt your jwt since at the end of the day, you're sending it to the Frontend (unless it's for server to server communication).
One major catch for jwt is do they can be decrypted on the client side and the data displayed to the user or used for some basic controls.
When you encrypt that, you will have to share the encryption key with the frontend which makes it unsafe anymore.
What is your thought on this?
Rajakumar
rajakumar.me || openradioster.xyz
Great article, thanks for sharing.