There’re many library available for decode the JET token. One of the best and secure library to decode the JWT token is, System.IdentityModel library. We can decode the token with using below code block.
var handler = new JwtSecurityTokenHandler();var decodedValue = handler.ReadJwtToken(token);
var handler = new JwtSecurityTokenHandler();
var decodedValue = handler.ReadJwtToken(token);