Javascript parse JWT token (claims)

Date: 2023-05-12
const token = "..."
const claims = JSON.parse(atob(token.split('.')[1]))
console.log(claims);
77320cookie-checkJavascript parse JWT token (claims)