<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bontamoffu</author_name>
  <author_url>https://blog.hatena.ne.jp/bontamoffu/</author_url>
  <blog_title>bontamoffu’s blog</blog_title>
  <blog_url>https://bontamoffu.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>以前から、SPAと呼ばれる形態を取るWebアプリにおいてトークンをどこに保存するべきか悶々としていたので、ここらで簡単にまとめておきます。 なお、自分はサイバーセキュリティの評価を主要事業とする企業に勤めているわけではないので、内容が間違っているかもしれません。 特に、世界的な攻撃の動向を踏まえた客観的なリスク評価については専任で従事されている方に敵わないのでお察しください。 トークンって何？どこに保存するのか選ぶのってそんなに大事なの？という疑問をお持ちの方は Auth0の『Token Storage』を読むか、 「token localstorage cookie」というキーワードで Go…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbontamoffu.hateblo.jp%2Fentry%2F2022%2F08%2F11%2F125536&quot; title=&quot;XSSリスクを考慮した上で、トークンをin-memory、localStorage、Cookieのどれに保存する？ - bontamoffu’s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-08-11 12:55:36</published>
  <title>XSSリスクを考慮した上で、トークンをin-memory、localStorage、Cookieのどれに保存する？</title>
  <type>rich</type>
  <url>https://bontamoffu.hateblo.jp/entry/2022/08/11/125536</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
