Decoding a JWT token in NodeJS

Vinod Kumar Nair
2 min readJun 8, 2020

JWT (or JSON Web Tokens) are an open, industry standard RFC 7519 method for representing claims securely between two parties.

JWT logo

It carries a lot of information in the encoded form in a HTTP/HTTPS request after a successful authentication. For instance, when we talk about multi-tenant cloud, a JWT can contain a domain/tenant information, JWT expiration details and/or subject in its body part. But wait? What does…

--

--

Vinod Kumar Nair

Cloud Architect (AWS) | Loves Kubernetes | Blogger | SaaS | Open Source Contributor | Cyclist