const token = "eyJ0eXAiO.../// jwt token";
// Returns with the JwtPayload type or any type
// const decodedJwt = jwtDecode<JwtPayload>(token);
const decodedJwt: any = jwtDecode(token);
//example print expiration date
console.log(decodedJwt.exp);
Top comments (0)
Subscribe
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)