Decoding a JWT token in NodeJS
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.
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…