JWT Token with Encryption Technique Basic Example
Helps to understand the implementation techniques for JWT and JWE Token integrations
Gives knowledge to handle expiry for the token
- Clone the repo
- Do
npm install
oryarn
npm start
You will be able to see the jwt token being generated also jwe and its payload data.
You can paste the JWT
token generated in this official websiste and see its payload: https://jwt.io/
Where as JWE
token cant be decrypted from: https://jwt.io/