<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>frevo-works</author_name>
  <author_url>https://blog.hatena.ne.jp/frevo-works/</author_url>
  <blog_title>革命のブログ</blog_title>
  <blog_url>https://blog.frevo-works.co.jp/</blog_url>
  <categories>
  </categories>
  <description>どうも、小野です。今回は、バックエンドがAPIのみ、フロントエンドがSPAの構成におけるOAuth認証とリクエスト時の認証チェックについてです。個人的にSpringBootとNuxtを利用することが多いのですが、この構成でのOAuth認証の実現方法を中々見出せずにいました。SprignBootにはOAuth認証を行う仕組みがSpringSecurityに実装されているのですが、フロントエンドとの連携が複雑化して断念しました。そこで、FirebaseのAuthentizcationサービスを使ってGoogle認証について調査したところ、スマートな方法が発見できたのでご紹介します。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.frevo-works.co.jp%2Fentry%2F2022%2F01%2F12%2F170921&quot; title=&quot;SpringBoot + Nuxt構成でGoogle認証を実現する - 革命のブログ&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/f/frevo-works/20220110/20220110111453.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-01-12 17:09:21</published>
  <title>SpringBoot + Nuxt構成でGoogle認証を実現する</title>
  <type>rich</type>
  <url>https://blog.frevo-works.co.jp/entry/2022/01/12/170921</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
