<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hokaccha</author_name>
  <author_url>https://blog.hatena.ne.jp/hokaccha/</author_url>
  <blog_title>hokaccha memo</blog_title>
  <blog_url>https://hokaccha.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>RailsのAPI onlyのアプリケーションだとセッションが無効化されているのでOmniAuthを使おうとするとOmniAuth::NoSessionErrorで落ちる。 READMEに書いてあった。 https://github.com/omniauth/omniauth/blob/650943c16de33c7cdf16708b74766e95ad369610/README.md#integrating-omniauth-into-your-rails-api config/application.rbとかにこんな感じの設定を足せばよいらしい。 config.session_store …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhokaccha.hatenablog.com%2Fentry%2F2018%2F05%2F02%2F214255&quot; title=&quot;RailsのAPI onlyでOmniAuthがエラる - hokaccha memo&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>2018-05-02 21:42:55</published>
  <title>RailsのAPI onlyでOmniAuthがエラる</title>
  <type>rich</type>
  <url>https://hokaccha.hatenablog.com/entry/2018/05/02/214255</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
