{"author_url":"https://blog.hatena.ne.jp/kikiki-kiki/","blog_url":"https://chaika.hatenablog.com/","height":"190","width":"100%","provider_name":"Hatena Blog","version":"1.0","published":"2023-04-11 08:30:00","title":"TypeScript jsonwebtoken \u3067 JWT \u3092 verify \u3057\u3088\u3046\u3068\u3057\u305f\u3089 Right-hand side of 'instanceof' is not an object \u3068\u3044\u3046\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u4ef6","type":"rich","categories":["JWT","TypeScript","Node.js","JavaScript"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2023%2F04%2F11%2F083000\" title=\"TypeScript jsonwebtoken \u3067 JWT \u3092 verify \u3057\u3088\u3046\u3068\u3057\u305f\u3089 Right-hand side of &#39;instanceof&#39; is not an object \u3068\u3044\u3046\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u4ef6 - \u304b\u3082\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":"https://m.media-amazon.com/images/I/5184ZgaxVbL._SL500_.jpg","author_name":"kikiki-kiki","provider_url":"https://hatena.blog","blog_title":"\u304b\u3082\u30e1\u30e2","description":"Next.js \u3067 jsonwebtoken \u3092\u4f7f\u3063\u3066\u4f5c\u6210\u3057\u305f JWT \u304b\u3089\u4e2d\u306b\u542b\u307e\u308c\u308b\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u51fa\u305d\u3046\u3068\u307e verify \u3057\u3088\u3046\u3068\u3057\u305f\u3089\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u539f\u56e0\u3068\u89e3\u6c7a\u7b56\u306e\u30e1\u30e2 \u74b0\u5883 Next.js 13.2.1 React 18.2.0 TypeScript 4.9.5 jsonwebtoken 9.0.0 \u72b6\u6cc1 // api import { sign } from \"jsonwebtoken\"; export default function handler( req: NextApiRequest, res: NextApiResponse<Data>, ) { // \u7565 co\u2026","url":"https://chaika.hatenablog.com/entry/2023/04/11/083000"}