<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Jwt on Feng-Chi's Notes</title><link>https://holmeslin.github.io/tags/jwt/</link><description>Recent content in Jwt on Feng-Chi's Notes</description><generator>Hugo -- gohugo.io</generator><language>zh-tw</language><lastBuildDate>Tue, 10 Nov 2026 08:00:00 +0800</lastBuildDate><atom:link href="https://holmeslin.github.io/tags/jwt/index.xml" rel="self" type="application/rss+xml"/><item><title>JWT 別整包放 localStorage</title><link>https://holmeslin.github.io/posts/jwt-httponly-cookie/</link><pubDate>Tue, 10 Nov 2026 08:00:00 +0800</pubDate><guid>https://holmeslin.github.io/posts/jwt-httponly-cookie/</guid><description>&lt;p&gt;Vue 加 Gin 的專案，登入後常把拿到的 token 直接存進 localStorage。頁面上任何一段被注入的 script 都能把它讀出來送走，之後從別台機器繼續用。這篇給改法：access token 放記憶體、refresh token 放 HttpOnly cookie，也說明改完之後仍然擋不住什麼。&lt;/p&gt;</description></item></channel></rss>