decode and parse jwt token payload in nodejs code example
Example: decode jwt token nodejs
var ca = yourToken;
var base64Url = ca.split('.')[1];
var decodedValue = JSON.parse(window.atob(base64Url));
var ca = yourToken;
var base64Url = ca.split('.')[1];
var decodedValue = JSON.parse(window.atob(base64Url));