<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tokizuoh</author_name>
  <author_url>https://blog.hatena.ne.jp/tokizuoh/</author_url>
  <blog_title>カルボナーラ街道</blog_title>
  <blog_url>https://tokizuoh.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
    <anon>Web</anon>
  </categories>
  <description>モチベーション 先日JWTに入門した*1が、そもそも認証認可について何も分かっていないので、度々目にするセッション管理について実装した。 セッション管理 とは www.ipa.go.jp HTTPはステートレスのため、Webサーバーに対する複数リクエストが同一クライアントから送信されたか判別できない 電子商取引サイトのようにWebサーバーにユーザーがログインしてからログインするまで、ログイン情報を保持する必要がある場合は素のHTTP通信で実現できない という背景がある上で、 クライアントとサーバー間でログイン情報を保持し、アクセス制御を一つの集合体として管理する仕組みが必要となる。この仕組みを…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftokizuoh.hatenablog.com%2Fentry%2F2022%2F04%2F20%2F231555&quot; title=&quot;GoでCookieを利用したセッション管理を実装した - カルボナーラ街道&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-04-20 23:15:55</published>
  <title>GoでCookieを利用したセッション管理を実装した</title>
  <type>rich</type>
  <url>https://tokizuoh.hatenablog.com/entry/2022/04/20/231555</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
