3 ms·
> JSON.stringify(JSON.parse(atob(TOKENHERE.split('.')[1])), null, 2); Non-code version for mobile users. My contribution: a bookmarklet I use to copy JWTs fro
by csours 6y ago
> JSON.stringify(JSON.parse(atob(TOKENHERE.split('.')[1])), null, 2);
Non-code version for mobile users.
My contribution: a bookmarklet I use to copy JWTs from my internal sites to the clipboard. Replace jwt_name with your name
javascript: (function() { var textArea = document.createElement("textarea"); textArea.value = window.sessionStorage.jwt_name; document.body.appendChild(textArea); textArea.select(); document.execCommand('copy'); document.body.removeChild(textArea); })();