<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Pocket7878_dev</author_name>
  <author_url>https://blog.hatena.ne.jp/Pocket7878_dev/</author_url>
  <blog_title>Let's write β</blog_title>
  <blog_url>https://tech-blog.pocket7878.com/</blog_url>
  <categories>
    <anon>Rails</anon>
  </categories>
  <description>API開発をするサーバサイドとAPIを利用するクライアントサイドというチーム構成でプロダクト開発をしていくにあたり、クライアントサイドがAPIの開発完了を待つことなくつなぎこみの準備をすすめておくためには、クライアントサイドとサーバサイドで事前にAPIのインタフェースを見やすい形式で共有しておく事が必要です。 また、現在開発しているAPIは外部に公開する性質のものではなく、クライアントアプリのみとの通信を想定した内部APIであるため、社内のGSuiteアカウントを持っている人のみが閲覧可能としたい物でした。 さらに、プロダクトがまだリリース前の模索の時期であるため、開発コストやサービスの利用コストをなるべく少なくしたいため、現在利用しているAWS上で簡単に設定できる物がのぞましい状況でした。 そこで、Rails上にCDN経由でSwaggerUIを表示し、GoogleのOAuth2認証をAWSのALBレイヤーでかける事という方法をとりました。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech-blog.pocket7878.com%2Fentry%2F2020%2F04%2F29%2F150926&quot; title=&quot;SwaggerUIをRailsから配信し、AWS ALB上でGoogleのOAuth認証をかけてチーム内で共有した - Let&amp;#39;s write β&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/P/Pocket7878_dev/20200429/20200429150633.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-04-29 15:09:26</published>
  <title>SwaggerUIをRailsから配信し、AWS ALB上でGoogleのOAuth認証をかけてチーム内で共有した</title>
  <type>rich</type>
  <url>https://tech-blog.pocket7878.com/entry/2020/04/29/150926</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
