ここにそれを働かせるための私の措置がありました:
1)Gemfileにomniauthを追加する
2)Gemfileにomniauth戦略を追加します(例: omniauth-linkedin
)
3) Run bundle install
4) Add the omniauth initializer in config/initializers/omniauth.rb
5) Add the match auth/:provider/callback
=> users#omniauth
route to routes.rb
(point it to the controller/action where you'll handle the authentication response)
6)手順4で参照したコントローラで認証応答を処理するアクションを作成します
7)Webサーバーを再起動します。
Apacheを再起動するまで、デフォルトの/auth /:provider
ルートが認識されませんでした。