<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inorinrinrin</author_name>
  <author_url>https://blog.hatena.ne.jp/inorinrinrin/</author_url>
  <blog_title>プププなテクブ</blog_title>
  <blog_url>https://blog.inorinrinrin.com/</blog_url>
  <categories>
    <anon>JS/TS</anon>
  </categories>
  <description>このエントリはHono Advent Calendar 2026 1日目の記事 です。 みなさんはNext.jsで認証の設計を考えたことがあるでしょうか？ 主語が大きいのでもう少し解像度を上げると、「認証された状態でしか特定のHTTPメソッドによるリクエストを許さない状態」を作る場合を想定しています。その場合、少なくとも以下の3つのパターンを考える必要がありそうです。 page.tsxへのGETリクエスト route.tsへの各種HTTP Methodによるリクエスト Server ActionsによるPOSTリクエスト これらのへのリクエストに対して、&quot;抜けがなく、将来的にも実装漏れの心配が…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.inorinrinrin.com%2Fentry%2Fde67b683-84b5-a1dc-ed76-3b91a8cc4ef5&quot; title=&quot;Next.jsにおけるHonoを活用した認証設計に関する一考察 - プププなテクブ&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>2026-12-01 14:20:05</published>
  <title>Next.jsにおけるHonoを活用した認証設計に関する一考察</title>
  <type>rich</type>
  <url>https://blog.inorinrinrin.com/entry/de67b683-84b5-a1dc-ed76-3b91a8cc4ef5</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
