<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>swx-satoshi-kaneyasu</author_name>
  <author_url>https://blog.hatena.ne.jp/swx-satoshi-kaneyasu/</author_url>
  <blog_title>サーバーワークスエンジニアブログ</blog_title>
  <blog_url>https://blog.serverworks.co.jp/</blog_url>
  <categories>
    <anon>Amazon Cognito</anon>
    <anon>認証・認可</anon>
  </categories>
  <description>こんにちは。 アプリケーションサービス部、DevOps担当の兼安です。 今回はReactを用いたSPA（Single Page Application）に、Amazon Cognitoで認証を組み込む方法を説明します。 本記事のターゲット 今回の構成 Amazon Cognitoのアプリケーションクライアント ReactアプリにAWS Amplify UIを使用して認証を組みこむ 設定ファイルの準備 Amplify UIのAuthenticatorコンポーネント URLパスで認証の要否を制御する 認証済みかどうかの判定 HTTPリクエストに認証情報を付与する Amazon API Gatewa…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.serverworks.co.jp%2Fadd-cognito-auth-to-existing-react-app&quot; title=&quot;既存のReactアプリに、Amazon Cognitoで認証を組み込んでみよう - サーバーワークスエンジニアブログ&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/s/swx-satoshi-kaneyasu/20250212/20250212002447.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-05-09 09:44:37</published>
  <title>既存のReactアプリに、Amazon Cognitoで認証を組み込んでみよう</title>
  <type>rich</type>
  <url>https://blog.serverworks.co.jp/add-cognito-auth-to-existing-react-app</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
