<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kakku22</author_name>
  <author_url>https://blog.hatena.ne.jp/kakku22/</author_url>
  <blog_title>kakakakakku blog</blog_title>
  <blog_url>https://kakakakakku.hatenablog.com/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>API Gateway</anon>
    <anon>Lambda</anon>
    <anon>Powertools</anon>
  </categories>
  <description>Amazon API Gateway の Lambda オーソライザー（旧カスタムオーソライザー）を使ってアクセス制御をするときに，Authorization ヘッダーは正しいはずなのに {&quot;Message&quot;:&quot;User is not authorized to access this resource&quot;} というエラーが出てしまう場合，Lambda オーソライザーの設定「認可のキャッシュ (Authorization caching)」に関係してる場合がある💡 前提 今回はサンプルとして Amazon API Gateway に /users リソースを追加して POST と GET をサポ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkakakakakku.hatenablog.com%2Fentry%2F2024%2F04%2F15%2F084238&quot; title=&quot;Amazon API Gateway の Lambda オーソライザーで &amp;quot;User is not authorized to access this resource&amp;quot; と出たら - kakakakakku 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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kakku22/20240401/20240401140513.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-04-15 08:42:38</published>
  <title>Amazon API Gateway の Lambda オーソライザーで &quot;User is not authorized to access this resource&quot; と出たら</title>
  <type>rich</type>
  <url>https://kakakakakku.hatenablog.com/entry/2024/04/15/084238</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
