Decoding a JWT Token

“JSON Web Tokens (JWT) are an open, industry standard [RFC 7519] method for representing claims securely between two parties.” - https://jwt.io/

To decode a token, the following logic can be used:

  1. JWT Token is received as:

  2. The following logic can be used to decode it:

  3. The result would look like the following (results redacted due for security reasons):