<iframe height="300" style="width: 100%;" scrolling="no" title="get token" src="https://codepen.io/hsiangfeng/embed/wvYEdgJ?default-tab=result" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true">
See the Pen <a href="https://codepen.io/hsiangfeng/pen/wvYEdgJ">
get token</a> by Ray (<a href="https://codepen.io/hsiangfeng">@hsiangfeng</a>)
on <a href="https://codepen.io">CodePen</a>.
</iframe>
const token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTY4NDIzNzAzNSwiZXhwIjoxNjg0MjM3MDk1fQ.y0KIWSmTSb4Mtwc6jbi0kejuka8B68p34zzNDz3YdVE";
document.cookie = `token=${token}; path=/;`;
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.