<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>n-aoki-m3</author_name>
  <author_url>https://blog.hatena.ne.jp/n-aoki-m3/</author_url>
  <blog_title>エムスリーテックブログ</blog_title>
  <blog_url>https://www.m3tech.blog/</blog_url>
  <categories>
  </categories>
  <description>ブラウザSSO前提だった社内レポートの認可システムに、OAuth 2.0 Device Authorization Grant（RFC 8628）を実装。SSO基盤には手を入れず認可システム自身をAuthorization Serverにすることで、追加インフラゼロ・既存認可ロジック無改修でCLIやAIエージェントからの安全なアクセスを実現した実装を紹介します。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.m3tech.blog%2Fentry%2F2026%2F07%2F15%2F100000&quot; title=&quot;AIエージェント×OAuth 2.0：Device Flowで社内データの安全な認可を実装した話 - エムスリーテックブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/m3tech/20260715/20260715100032.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-07-15 10:00:00</published>
  <title>AIエージェント×OAuth 2.0：Device Flowで社内データの安全な認可を実装した話</title>
  <type>rich</type>
  <url>https://www.m3tech.blog/entry/2026/07/15/100000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
