<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a2ikm</author_name>
  <author_url>https://blog.hatena.ne.jp/a2ikm/</author_url>
  <blog_title>There's an echo in my head</blog_title>
  <blog_url>https://ikm.hatenablog.jp/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>とりあえずメモ。 :request_pathオプションと:callback_pathオプション OmniAuthでproviderを宣言する際に:request_pathオプションにProcを渡すことで、デフォルトだと/auth/:providerとなっているリクエストフェーズ開始のパスを動的に設定できる。 たとえば次のようにすると、パスが/auth/fooで終わってるリクエストはすべてfooプロバイダでのリクエストフェーズであるとして処理されるようになり、たとえば/quwup/auth/fooとかでもヒットする。 Rails.application.config.middleware.use…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fikm.hatenablog.jp%2Fentry%2F2014%2F03%2F06%2F184540&quot; title=&quot;OmniAuthでの動的なパスとOpenID認証 - There&amp;#39;s an echo in my head&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>2014-03-06 18:45:40</published>
  <title>OmniAuthでの動的なパスとOpenID認証</title>
  <type>rich</type>
  <url>https://ikm.hatenablog.jp/entry/2014/03/06/184540</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
